summaryrefslogtreecommitdiff
path: root/devel/libmpeg3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-01 05:48:00 +0000
committerjlam <jlam@pkgsrc.org>2002-08-01 05:48:00 +0000
commit75e61cb884ee8ba12235cd6a05a62b1c25c5fba7 (patch)
treeddb090c3c0b454f9c8402f5b1724832e17cddad6 /devel/libmpeg3
parent74efb51f8c38659285bc7369ad4bc06ca807eb44 (diff)
downloadpkgsrc-75e61cb884ee8ba12235cd6a05a62b1c25c5fba7.tar.gz
Adjust to new pthread.buildlink.mk: remove USE_PTHREAD and replace with
appropriate PTHREAD_OPTS incantation, and move the checks for the value of PTHREAD_TYPE below the inclusion of pthread.buildlink.mk.
Diffstat (limited to 'devel/libmpeg3')
-rw-r--r--devel/libmpeg3/Makefile4
-rw-r--r--devel/libmpeg3/buildlink.mk5
2 files changed, 4 insertions, 5 deletions
diff --git a/devel/libmpeg3/Makefile b/devel/libmpeg3/Makefile
index 199c71e9908..b1ef2610270 100644
--- a/devel/libmpeg3/Makefile
+++ b/devel/libmpeg3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2002/07/22 09:23:10 agc Exp $
+# $NetBSD: Makefile,v 1.7 2002/08/01 05:48:09 jlam Exp $
#
DISTNAME= libmpeg3-1.3
@@ -20,7 +20,7 @@ USE_BUILDLINK_ONLY= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
-USE_PTHREAD= native pth
+PTHREAD_OPTS+= require
post-configure:
${ECHO} "CFLAGS+=-O2" >>${WRKSRC}/global_config
diff --git a/devel/libmpeg3/buildlink.mk b/devel/libmpeg3/buildlink.mk
index d5a88f78e50..5cde7816810 100644
--- a/devel/libmpeg3/buildlink.mk
+++ b/devel/libmpeg3/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.1 2002/07/22 09:28:55 agc Exp $
+# $NetBSD: buildlink.mk,v 1.2 2002/08/01 05:48:10 jlam Exp $
#
# This Makefile fragment is included by packages that use libmpeg3.
#
@@ -42,9 +42,8 @@ BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/mpeg3video.h
BUILDLINK_FILES.libmpeg3+= include/mpeg3/video/slice.h
BUILDLINK_FILES.libmpeg3+= lib/libmpeg3.*
-USE_PTHREAD= native pth
+PTHREAD_OPTS+= require
-.include "../../mk/bsd.prefs.mk"
.include "../../mk/pthread.buildlink.mk"
BUILDLINK_TARGETS.libmpeg3= libmpeg3-buildlink