summaryrefslogtreecommitdiff
path: root/audio/arts/Makefile
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 /audio/arts/Makefile
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 'audio/arts/Makefile')
-rw-r--r--audio/arts/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index a07faeb92e8..84b19a37421 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2002/07/24 19:45:22 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2002/08/01 05:48:00 jlam Exp $
DISTNAME= arts-1.0.2
CATEGORIES= audio
@@ -13,19 +13,20 @@ USE_BUILDLINK_ONLY= yes
LIBTOOL_OVERRIDE+= ${WRKSRC}/libltdl/libtool
USE_PERL5= build
-USE_PTHREAD= native pth-syscall
-.include "../../mk/bsd.prefs.mk"
-.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
-CONFIGURE_ARGS+= --disable-threading
-.endif
+.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
LIBS+= -Wl,--export-dynamic
.endif
.include "../../audio/libaudiofile/buildlink.mk"
-.include "../../mk/pthread.buildlink.mk"
.include "../../x11/kde3/buildlink.mk"
+.include "../../mk/pthread.buildlink.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+CONFIGURE_ARGS+= --disable-threading
+.endif
+
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"