summaryrefslogtreecommitdiff
path: root/net/ORBit/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-11-12 06:39:19 +0000
committerjlam <jlam>2004-11-12 06:39:19 +0000
commit84a5a45c75e998d94c40f85c5e67ef62bd981c25 (patch)
treeddbacf3026d39d6b23e622ac51745a4f7db32d44 /net/ORBit/Makefile
parent1f3c0a7f71e5f22757f741cdaede1a808025ffd1 (diff)
downloadpkgsrc-84a5a45c75e998d94c40f85c5e67ef62bd981c25.tar.gz
Remove redundant uses of PTHREAD_{CFLAGS,LDFLAGS} now that they're added
automatically by pthread.buildlink3.mk. Also, factor out the pthread library out of PTHREAD_LDFLAGS into a standalone variable PTHREAD_LIBS and use it in packages where necessary (usually the ones that don't have a GNU configure script).
Diffstat (limited to 'net/ORBit/Makefile')
-rw-r--r--net/ORBit/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/ORBit/Makefile b/net/ORBit/Makefile
index 936752e58b8..74f0f4ee8a8 100644
--- a/net/ORBit/Makefile
+++ b/net/ORBit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.107 2004/10/03 00:17:48 tv Exp $
+# $NetBSD: Makefile,v 1.108 2004/11/12 06:39:20 jlam Exp $
#
DISTNAME= ORBit-0.${ORBIT_MAJOR}.${ORBIT_MINOR}
@@ -30,8 +30,6 @@ CONFIGURE_ENV+= LIB_WRAP="-lwrap"
PKGCONFIG_OVERRIDE+= ORBit.pc.in
PKGCONFIG_OVERRIDE+= libIDL/libIDL.pc.in
-CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1
-
# for DISTNAME, PKGNAME
ORBIT_MAJOR= 5
ORBIT_MINOR= 15
@@ -43,4 +41,8 @@ INFO_FILES= libIDL.info
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
+.if ${PTHREAD_TYPE} != "native"
+CPPFLAGS+= -D_POSIX_THREAD_SYSCALL_SOFT=1
+.endif
+
.include "../../mk/bsd.pkg.mk"