summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-08-02 12:40:31 +0000
committerjperkin <jperkin>2012-08-02 12:40:31 +0000
commit42c3a7ebec63fec72802f53e1651e722755dca71 (patch)
treed3d87d76efce0e2348f3df18e08af40c0d4fbbf2 /devel/pth
parentebecff5dd64da758c9a3336e0b104ab9f70bbbd5 (diff)
downloadpkgsrc-42c3a7ebec63fec72802f53e1651e722755dca71.tar.gz
Don't limit FD_SETSIZE on Solaris, causes conflicts in 64-bit mode.
Bump PKGREVISION.
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 90bfc4ac07e..74c1264396a 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.74 2011/10/03 10:48:03 hiramatsu Exp $
+# $NetBSD: Makefile,v 1.75 2012/08/02 12:40:31 jperkin Exp $
#
DISTNAME= pth-2.0.7
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=pth/}
@@ -20,7 +20,6 @@ MAKE_JOBS_SAFE= no
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
-CONFIGURE_ARGS+= --with-fdsetsize=1024
#CONFIGURE_ARGS+= --enable-debug
TEST_TARGET= test
@@ -39,6 +38,11 @@ CONFIGURE_ENV+= ac_cv_check_nfdstype='unsigned int'
CONFIGURE_ENV+= ac_cv_typedef_nfds_t=no # in <poll.h>, but that's unused
.endif
+# XXX: Check this is still required and reverse test to OS which need it.
+.if ${OPSYS} != "SunOS"
+CONFIGURE_ARGS+= --with-fdsetsize=1024
+.endif
+
PLIST_VARS+= pthread
.include "../../mk/pthread.buildlink3.mk"