summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"