summaryrefslogtreecommitdiff
path: root/devel/libsigc++
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-03-06 23:19:38 +0000
committersnj <snj@pkgsrc.org>2004-03-06 23:19:38 +0000
commit9618ba80fb151305a47300bb14bb0d6ad088af3d (patch)
treec78be6ce8e5fc9fb9364a632f917fc6204441a74 /devel/libsigc++
parent7c440bfa6396c8da4dbe1e96b9302363449a7684 (diff)
downloadpkgsrc-9618ba80fb151305a47300bb14bb0d6ad088af3d.tar.gz
bl3ify.
Diffstat (limited to 'devel/libsigc++')
-rw-r--r--devel/libsigc++/Makefile6
-rw-r--r--devel/libsigc++/buildlink3.mk18
2 files changed, 21 insertions, 3 deletions
diff --git a/devel/libsigc++/Makefile b/devel/libsigc++/Makefile
index 2879a17e774..4ed53ee9d1b 100644
--- a/devel/libsigc++/Makefile
+++ b/devel/libsigc++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/02/14 18:26:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.18 2004/03/06 23:22:33 snj Exp $
DISTNAME= libsigc++-1.2.5
CATEGORIES= devel
@@ -8,7 +8,7 @@ MAINTAINER= bsieker@freenet.de
HOMEPAGE= http://libsigc.sourceforge.net/
COMMENT= Type-safe callback system for C++ programs
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_GNU_TOOLS+= m4 make
@@ -18,7 +18,7 @@ PKGCONFIG_OVERRIDE= sigc++-1.2.pc.in
CONFIGURE_ENV+= ac_cv_prog_M4=${M4}
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
CONFIGURE_ARGS+= --disable-threads
diff --git a/devel/libsigc++/buildlink3.mk b/devel/libsigc++/buildlink3.mk
new file mode 100644
index 00000000000..a1d31b4c890
--- /dev/null
+++ b/devel/libsigc++/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/06 23:22:33 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSIGC++_BUILDLINK3_MK:= ${LIBSIGC++_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libsigcxx
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsigcxx}
+BUILDLINK_PACKAGES+= libsigcxx
+
+.if !empty(LIBSIGC++_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libsigcxx+= libsigc++>=1.2.3nb1
+BUILDLINK_PKGSRCDIR.libsigcxx?= ../../devel/libsigc++
+.endif # LIBSIGC++_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}