diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-07 23:20:35 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-07 23:20:35 +0000 |
commit | 1938c153acc6694e7ca6c343422db69a069873e1 (patch) | |
tree | 3554cdc088195febbbfd355a62feeaa152476eae /devel | |
parent | 95526d5b7ca771d9a20e5fbde5d53e019fe6baee (diff) | |
download | pkgsrc-1938c153acc6694e7ca6c343422db69a069873e1.tar.gz |
bl3ify.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/swig-build/Makefile.common | 4 | ||||
-rw-r--r-- | devel/swig-perl/Makefile | 4 | ||||
-rw-r--r-- | devel/swig-python/buildlink3.mk | 24 |
3 files changed, 28 insertions, 4 deletions
diff --git a/devel/swig-build/Makefile.common b/devel/swig-build/Makefile.common index c82f5bd786a..7b902ea7df3 100644 --- a/devel/swig-build/Makefile.common +++ b/devel/swig-build/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2004/02/14 17:21:39 jlam Exp $ +# $NetBSD: Makefile.common,v 1.5 2004/03/07 23:20:35 minskim Exp $ DISTNAME= swig-${SWIG_VERSION} CATEGORIES= devel @@ -16,7 +16,7 @@ PATCHDIR= ${.CURDIR}/../swig-build/patches ALL_TARGET= swig WRKSRC= ${WRKDIR}/SWIG-${SWIG_VERSION} -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES USE_GCC_SHLIB= YES USE_LIBTOOL= YES diff --git a/devel/swig-perl/Makefile b/devel/swig-perl/Makefile index f535e15a0f3..e8244de387d 100644 --- a/devel/swig-perl/Makefile +++ b/devel/swig-perl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2003/12/03 15:11:23 epg Exp $ +# $NetBSD: Makefile,v 1.2 2004/03/07 23:20:35 minskim Exp $ PKGNAME= swig-perl-${SWIG_VERSION} COMMENT= Simplified Wrapper and Interface Generator, Perl runtime @@ -10,5 +10,5 @@ CONFIGURE_ARGS+= --with-perl5=${PERL5} ALL_TARGET= runtime INSTALL_TARGET= install-runtime -.include "../../lang/perl5/buildlink2.mk" +.include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/swig-python/buildlink3.mk b/devel/swig-python/buildlink3.mk new file mode 100644 index 00000000000..606cc5fce84 --- /dev/null +++ b/devel/swig-python/buildlink3.mk @@ -0,0 +1,24 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 23:20:35 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +SWIG_PYTHON_BUILDLINK3_MK:= ${SWIG_PYTHON_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= swig-python +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswig-python} +BUILDLINK_PACKAGES+= swig-python + +.if !empty(SWIG_PYTHON_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.swig-python+= swig-python>=${SWIG_VERSION} +BUILDLINK_PKGSRCDIR.swig-python?= ../../devel/swig-python + +PYTHON_VERSION_ACCEPTED= 22 22pth +.include "../../lang/python/pyversion.mk" + +.include "../../devel/swig-build/Makefile.version" + +.endif # SWIG_PYTHON_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |