pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel bl3ify.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1817525ac40a
branches:  trunk
changeset: 470293:1817525ac40a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Mar 07 23:20:35 2004 +0000

description:
bl3ify.

diffstat:

 devel/swig-build/Makefile.common |   4 ++--
 devel/swig-perl/Makefile         |   4 ++--
 devel/swig-python/buildlink3.mk  |  24 ++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 4 deletions(-)

diffs (62 lines):

diff -r e6cf79741ed7 -r 1817525ac40a devel/swig-build/Makefile.common
--- a/devel/swig-build/Makefile.common  Sun Mar 07 23:06:39 2004 +0000
+++ b/devel/swig-build/Makefile.common  Sun Mar 07 23:20:35 2004 +0000
@@ -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 @@
 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 -r e6cf79741ed7 -r 1817525ac40a devel/swig-perl/Makefile
--- a/devel/swig-perl/Makefile  Sun Mar 07 23:06:39 2004 +0000
+++ b/devel/swig-perl/Makefile  Sun Mar 07 23:20:35 2004 +0000
@@ -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 @@
 ALL_TARGET=            runtime
 INSTALL_TARGET=                install-runtime
 
-.include "../../lang/perl5/buildlink2.mk"
+.include "../../lang/perl5/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e6cf79741ed7 -r 1817525ac40a devel/swig-python/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/swig-python/buildlink3.mk   Sun Mar 07 23:20:35 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index