summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-17 05:24:24 +0000
committerjlam <jlam>2002-09-17 05:24:24 +0000
commita19616d33db169b02e3d7394d0d5d03e4c887183 (patch)
tree7b844b791fbc2cc845fe31ac4d3069a55050062e
parent7aabc0302b441ed8f324126fe89a6a6428c40d73 (diff)
downloadpkgsrc-a19616d33db169b02e3d7394d0d5d03e4c887183.tar.gz
libsigc++ passes it's tests when compiled with pthread support, so turn it
on. Bump PKGREVISION.
-rw-r--r--devel/libsigc++/Makefile25
1 files changed, 15 insertions, 10 deletions
diff --git a/devel/libsigc++/Makefile b/devel/libsigc++/Makefile
index 56a729220ff..e6613bec9f9 100644
--- a/devel/libsigc++/Makefile
+++ b/devel/libsigc++/Makefile
@@ -1,20 +1,25 @@
-# $NetBSD: Makefile,v 1.7 2002/09/11 21:29:27 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2002/09/17 05:24:24 jlam Exp $
-DISTNAME= libsigc++-1.0.4
-CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libsigc/}
+DISTNAME= libsigc++-1.0.4
+PKGREVISION= 1
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libsigc/}
-MAINTAINER= bsieker@freenet.de
-HOMEPAGE= http://libsigc.sourceforge.net/
-COMMENT= libsigc++ is provides a callback system for C++ programs
-
-GNU_CONFIGURE= YES
-CONFIGURE_ARG= --disable-threads
+MAINTAINER= bsieker@freenet.de
+HOMEPAGE= http://libsigc.sourceforge.net/
+COMMENT= type-safe callback system for C++ programs
USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/scripts/ltconfig
+.include "../../mk/pthread.buildlink2.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+CONFIGURE_ARGS+= --disable-threads
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sigc++
${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/sigc++