diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/SDLmm/Makefile | 6 | ||||
-rw-r--r-- | devel/SDLmm/buildlink3.mk | 21 | ||||
-rw-r--r-- | devel/libsigc++/Makefile | 6 | ||||
-rw-r--r-- | devel/libsigc++/buildlink3.mk | 18 |
4 files changed, 45 insertions, 6 deletions
diff --git a/devel/SDLmm/Makefile b/devel/SDLmm/Makefile index 397e7ed5d85..99a7787b692 100644 --- a/devel/SDLmm/Makefile +++ b/devel/SDLmm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2004/02/14 17:21:36 jlam Exp $ +# $NetBSD: Makefile,v 1.5 2004/03/06 23:19:38 snj Exp $ # DISTNAME= SDLmm-0.1.8 @@ -10,9 +10,9 @@ MAINTAINER= xtraeme@NetBSD.org HOMEPAGE= http://sdlmm.sourceforge.net/ COMMENT= C++ Wrapper for the Simple DirectMedia Layer -USE_BUILDLINK2= YES GNU_CONFIGURE= YES +USE_BUILDLINK3= YES USE_LIBTOOL= YES -.include "../../devel/SDL/buildlink2.mk" +.include "../../devel/SDL/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/SDLmm/buildlink3.mk b/devel/SDLmm/buildlink3.mk new file mode 100644 index 00000000000..5c19f4b2f5f --- /dev/null +++ b/devel/SDLmm/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/06 23:19:38 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SDLMM_BUILDLINK3_MK:= ${SDLMM_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= SDLmm +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDLmm} +BUILDLINK_PACKAGES+= SDLmm + +.if !empty(SDLMM_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.SDLmm+= SDLmm>=0.1.8nb1 +BUILDLINK_PKGSRCDIR.SDLmm?= ../../devel/SDLmm + +.include "../../devel/SDL/buildlink3.mk" + +.endif # SDLMM_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} 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/+$//} |