summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-05-03 15:58:55 +0000
committerwiz <wiz@pkgsrc.org>2004-05-03 15:58:55 +0000
commitf66acac2091abc41c2ab4e0a2368a58f2f6e032b (patch)
treedc01649f974a2bd1f2340086df1eda148ee962f6 /devel
parent7926991921f5d9ad97af42740418d76e12182de5 (diff)
downloadpkgsrc-f66acac2091abc41c2ab4e0a2368a58f2f6e032b.tar.gz
Convert to buildlink3.
Diffstat (limited to 'devel')
-rw-r--r--devel/g-wrap/Makefile16
-rw-r--r--devel/g-wrap/buildlink3.mk22
-rw-r--r--devel/g-wrap/distinfo4
-rw-r--r--devel/g-wrap/patches/patch-ac13
-rw-r--r--devel/guile-fcgi/Makefile8
-rw-r--r--devel/guile-gtk/Makefile20
-rw-r--r--devel/guile-gtk/buildlink3.mk21
-rw-r--r--devel/guile-slib/Makefile15
-rw-r--r--devel/guile-www/Makefile6
-rw-r--r--devel/swig/buildlink3.mk20
10 files changed, 101 insertions, 44 deletions
diff --git a/devel/g-wrap/Makefile b/devel/g-wrap/Makefile
index ed15a5de6e5..2e69d1a9b18 100644
--- a/devel/g-wrap/Makefile
+++ b/devel/g-wrap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2004/02/14 17:21:37 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2004/05/03 15:58:55 wiz Exp $
DISTNAME= g-wrap-1.3.4
PKGREVISION= 3
@@ -11,22 +11,20 @@ COMMENT= Tool for importing types, functions, and constants into guile
DEPENDS+= guile-slib>=2.4.2:../../devel/guile-slib
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
+MAKE_ENV+= GUILE14_SUBDIR=${GUILE14_SUBDIR:Q}
USE_MAKEINFO= YES
INFO_FILES= g-wrap.info
-CONFIGURE_ARGS+= --with-modules-dir=${GUILE14_PREFIX}/share/guile
-CONFIGURE_ENV+= GUILE=${GUILE14}
-CONFIGURE_ENV+= BUILD_GUILE=${GUILE14_CONFIG}
+CONFIGURE_ARGS+= --with-modules-dir=${PREFIX}/${GUILE14_SUBDIR}/share/guile
CONFIGURE_ENV+= ac_cv_path_RSCHEME="nope"
-CONFIGURE_ENV+= ac_cv_path_GUILE="${LOCALBASE}/guile/1.4/bin/guile"
-.include "../../devel/glib/buildlink2.mk"
-.include "../../lang/guile14/buildlink2.mk"
-.include "../../devel/guile-gtk/buildlink2.mk"
+.include "../../devel/glib/buildlink3.mk"
+.include "../../lang/guile14/buildlink3.mk"
+.include "../../devel/guile-gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/g-wrap/buildlink3.mk b/devel/g-wrap/buildlink3.mk
new file mode 100644
index 00000000000..b118a77bc3a
--- /dev/null
+++ b/devel/g-wrap/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 15:58:55 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+G_WRAP_BUILDLINK3_MK:= ${G_WRAP_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= g-wrap
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ng-wrap}
+BUILDLINK_PACKAGES+= g-wrap
+
+.if !empty(G_WRAP_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.g-wrap+= g-wrap>=1.3.4nb3
+BUILDLINK_PKGSRCDIR.g-wrap?= ../../devel/g-wrap
+.endif # G_WRAP_BUILDLINK3_MK
+
+.include "../../devel/glib/buildlink3.mk"
+.include "../../lang/guile14/buildlink3.mk"
+.include "../../devel/guile-gtk/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/g-wrap/distinfo b/devel/g-wrap/distinfo
index 30d5687ea50..47dffd381d4 100644
--- a/devel/g-wrap/distinfo
+++ b/devel/g-wrap/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2003/06/24 14:39:16 seb Exp $
+$NetBSD: distinfo,v 1.7 2004/05/03 15:58:55 wiz Exp $
SHA1 (g-wrap-1.3.4.tar.gz) = 764f1c878e18341bf437f3e1ddc5f8618019bfc2
Size (g-wrap-1.3.4.tar.gz) = 403570 bytes
SHA1 (patch-aa) = 284e62e9a3456ab03a8337298fde587b2729c786
SHA1 (patch-ab) = 92f8e1ed55a3ba563837b36e2f39888734aebefe
-SHA1 (patch-ac) = 098bb2e6c239b38afa40d28362cc553982ac3e38
+SHA1 (patch-ac) = 7bd1543e1941668d71507d8ee6e1c5f1614f6472
diff --git a/devel/g-wrap/patches/patch-ac b/devel/g-wrap/patches/patch-ac
index 94e73c31313..6b7067c9277 100644
--- a/devel/g-wrap/patches/patch-ac
+++ b/devel/g-wrap/patches/patch-ac
@@ -1,10 +1,13 @@
-$NetBSD: patch-ac,v 1.3 2003/02/24 20:50:19 jschauma Exp $
+$NetBSD: patch-ac,v 1.4 2004/05/03 15:58:55 wiz Exp $
---- bin/Makefile.in.orig Thu Apr 12 05:14:14 2001
-+++ bin/Makefile.in Sun Jul 1 16:16:37 2001
-@@ -232,7 +232,7 @@
+--- bin/Makefile.in.orig 2002-11-08 05:40:46.000000000 +0100
++++ bin/Makefile.in
+@@ -333,9 +333,9 @@ g-wrap: g-wrap.in Makefile
+ g-wrap-config: g-wrap-config.in
+ rm -f $@.tmp
sed < $@.in > $@.tmp \
- -e 's:@-GUILE-@:${GUILE}:' \
+- -e 's:@-GUILE-@:${GUILE}:' \
++ -e 's:@-GUILE-@:${PREFIX}/${GUILE14_SUBDIR}/bin/guile:' \
-e 's:@-VERSION-@:${VERSION}:' \
- -e 's:@-libdir-@:${libdir}:' \
+ -e 's:@-libdir-@:${libdir}:g' \
diff --git a/devel/guile-fcgi/Makefile b/devel/guile-fcgi/Makefile
index 1f060754536..d2b8feaedb1 100644
--- a/devel/guile-fcgi/Makefile
+++ b/devel/guile-fcgi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/07/13 13:51:13 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2004/05/03 15:58:55 wiz Exp $
DISTNAME= guile-fcgi-0.1
PKGREVISION= 3
@@ -9,7 +9,7 @@ MAINTAINER= epg@pretzelnet.org
HOMEPAGE= http://www.bgu.ru/%7Edsa/guilefcgi.html
COMMENT= Guile interface to FastCGI
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+=--with-fcgi-includes=${BUILDLINK_PREFIX.fcgi}/include
@@ -19,6 +19,6 @@ do-build:
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} guile-fcgi.x
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${ALL_TARGET}
-.include "../../lang/guile14/buildlink2.mk"
-.include "../../www/fcgi/buildlink2.mk"
+.include "../../lang/guile14/buildlink3.mk"
+.include "../../www/fcgi/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/guile-gtk/Makefile b/devel/guile-gtk/Makefile
index a26c9d334e4..b27ef872b6d 100644
--- a/devel/guile-gtk/Makefile
+++ b/devel/guile-gtk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/02/21 06:51:42 snj Exp $
+# $NetBSD: Makefile,v 1.17 2004/05/03 15:58:55 wiz Exp $
#
DISTNAME= guile-gtk-0.19
@@ -13,23 +13,15 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.ping.de/sites/zagadka/guile-gtk/
COMMENT= Library to make GTK accessible from guile
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
USE_X11= # defined
USE_LIBTOOL= # defined
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --datadir=${GUILE14_PREFIX}/share
-PLIST_SUBST+= GUILE14_SUBDIR=${GUILE14_SUBDIR}
+CONFIGURE_ARGS+= --datadir=${PREFIX}/${GUILE14_SUBDIR}/share
+PLIST_SUBST+= GUILE14_SUBDIR=${GUILE14_SUBDIR:Q}
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
-pre-build:
- cd ${WRKSRC}; for file in build-guile-gtk; do \
- ${SED} -e "s,^exec guile,exec ${GUILE14}," \
- $$file > $$file.new; \
- ${MV} -f $$file.new $$file; \
- done
-
-.include "../../lang/guile14/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
+.include "../../lang/guile14/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/guile-gtk/buildlink3.mk b/devel/guile-gtk/buildlink3.mk
new file mode 100644
index 00000000000..9f7bb30b06a
--- /dev/null
+++ b/devel/guile-gtk/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 15:58:55 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GUILE_GTK_BUILDLINK3_MK:= ${GUILE_GTK_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= guile-gtk
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nguile-gtk}
+BUILDLINK_PACKAGES+= guile-gtk
+
+.if !empty(GUILE_GTK_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.guile-gtk+= guile-gtk>=0.19nb4
+BUILDLINK_PKGSRCDIR.guile-gtk?= ../../devel/guile-gtk
+.endif # GUILE_GTK_BUILDLINK3_MK
+
+.include "../../lang/guile14/buildlink3.mk"
+.include "../../x11/gtk/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/guile-slib/Makefile b/devel/guile-slib/Makefile
index 0cfc7bce37c..9b8c663067d 100644
--- a/devel/guile-slib/Makefile
+++ b/devel/guile-slib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/04/24 22:46:09 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2004/05/03 15:58:55 wiz Exp $
DISTNAME= guile-slib-2.4.2
PKGREVISION= 3
@@ -12,17 +12,18 @@ COMMENT= SLIB installation for guile Scheme interpreter
DEPENDS+= slib>=2.4.2:../../devel/slib
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_BUILD= yes
-PLIST_SUBST+= GUILE14_SUBDIR=${GUILE14_SUBDIR}
+PLIST_SUBST+= GUILE14_SUBDIR=${GUILE14_SUBDIR:Q}
do-install:
- ${LN} -sf ${PREFIX}/share/slib ${GUILE14_PREFIX}/share/guile/slib
- cd ${GUILE14_PREFIX}/share/guile/slib; \
- ${GUILE14} -q -s ${FILESDIR}/gencat.scm
+ ${LN} -sf ${PREFIX}/share/slib ${PREFIX}/${GUILE14_SUBDIR}/share/guile/slib
+ cd ${PREFIX}/${GUILE14_SUBDIR}/share/guile/slib; \
+ ${PREFIX}/${GUILE14_SUBDIR}/bin/guile -q -s \
+ ${FILESDIR}/gencat.scm
-.include "../../lang/guile14/buildlink2.mk"
+.include "../../lang/guile14/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/guile-www/Makefile b/devel/guile-www/Makefile
index dd963be8007..5b30adb3cf7 100644
--- a/devel/guile-www/Makefile
+++ b/devel/guile-www/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/08/09 10:44:43 seb Exp $
+# $NetBSD: Makefile,v 1.8 2004/05/03 15:58:55 wiz Exp $
DISTNAME= guile-www-1.0.1
PKGREVISION= 2
@@ -9,9 +9,9 @@ MAINTAINER= epg@pretzelnet.org
HOMEPAGE= http://www.gnu.org/software/guile/
COMMENT= Guile WWW module
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
INFO_FILES= guile-www.info
-.include "../../lang/guile14/buildlink2.mk"
+.include "../../lang/guile14/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/swig/buildlink3.mk b/devel/swig/buildlink3.mk
new file mode 100644
index 00000000000..1975fc8caec
--- /dev/null
+++ b/devel/swig/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 15:58:55 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SWIG_BUILDLINK3_MK:= ${SWIG_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= swig
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswig}
+BUILDLINK_PACKAGES+= swig
+
+.if !empty(SWIG_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.swig+= swig>=1.1p5nb1
+BUILDLINK_PKGSRCDIR.swig?= ../../devel/swig
+# only contains a static library
+BUILDLINK_DEPMETHOD.swig?= build
+.endif # SWIG_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}