pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Update pkgtools/createbuildlink to 3.1. Changes from ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/80e6a753a7da
branches: trunk
changeset: 468063:80e6a753a7da
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Feb 10 03:36:55 2004 +0000
description:
Update pkgtools/createbuildlink to 3.1. Changes from version 3.0 include
generating buildlink3.mk files that only append to BUILDLINK_DEPENDS.*.
diffstat:
doc/CHANGES | 3 ++-
pkgtools/createbuildlink/Makefile | 7 +++----
pkgtools/createbuildlink/files/createbuildlink | 20 ++++++++++++++++++--
3 files changed, 23 insertions(+), 7 deletions(-)
diffs (78 lines):
diff -r 6eec78aaf053 -r 80e6a753a7da doc/CHANGES
--- a/doc/CHANGES Tue Feb 10 03:23:51 2004 +0000
+++ b/doc/CHANGES Tue Feb 10 03:36:55 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.4757 2004/02/10 01:59:56 jlam Exp $
+$NetBSD: CHANGES,v 1.4758 2004/02/10 03:38:19 jlam Exp $
Changes to the packages collection and infrastructure in 2004:
@@ -736,3 +736,4 @@
Updated gnome-vfs2 to 2.4.2nb2 [jmmv 2004-02-09]
Updated cue to 20040209 [itojun 2004-02-09]
Updated perl58 to 5.8.3 [jlam 2004-02-10]
+ Updated createbuildlink to 3.1 [jlam 2004-02-10]
diff -r 6eec78aaf053 -r 80e6a753a7da pkgtools/createbuildlink/Makefile
--- a/pkgtools/createbuildlink/Makefile Tue Feb 10 03:23:51 2004 +0000
+++ b/pkgtools/createbuildlink/Makefile Tue Feb 10 03:36:55 2004 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.25 2004/02/06 23:02:16 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.26 2004/02/10 03:36:55 jlam Exp $
-DISTNAME= createbuildlink-3.0
+DISTNAME= createbuildlink-3.1
CATEGORIES= pkgtools sysutils
MASTER_SITES= # Nothing
DISTFILES= # Nothing
MAINTAINER= rh%NetBSD.org@localhost
-COMMENT= Shell script to help creating a buildlink2.mk file
+COMMENT= shell script to help creating buildlink[23].mk files
PKG_INSTALLATION_TYPES= overwrite pkgviews
diff -r 6eec78aaf053 -r 80e6a753a7da pkgtools/createbuildlink/files/createbuildlink
--- a/pkgtools/createbuildlink/files/createbuildlink Tue Feb 10 03:23:51 2004 +0000
+++ b/pkgtools/createbuildlink/files/createbuildlink Tue Feb 10 03:36:55 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: createbuildlink,v 1.17 2004/01/14 08:53:57 rh Exp $
+# $NetBSD: createbuildlink,v 1.18 2004/02/10 03:36:55 jlam Exp $
#
# Copyright (c) 2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -40,7 +40,7 @@
# and PLIST
#
-REV=`echo '$Revision: 1.17 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.18 $' | sed 's/\\$//g'`
tmpdir=/tmp
makefile=Makefile
sedrules=$tmpdir/sedrules.buildlink.$$
@@ -166,7 +166,23 @@
sed -f $sedrules <<EOF
BUILDLINK_PACKAGES+= $PKGNOVER
+EOF
+
+if [ $blver = 2 ]; then
+
+sed -f $sedrules <<EOF
BUILDLINK_DEPENDS.$PKGNOVER?= $PKGNOVER>=$PKGVER
+EOF
+
+else # [ $blver = 3 ]
+
+sed -f $sedrules <<EOF
+BUILDLINK_DEPENDS.$PKGNOVER+= $PKGNOVER>=$PKGVER
+EOF
+
+fi
+
+sed -f $sedrules <<EOF
BUILDLINK_PKGSRCDIR.$PKGNOVER?= ../../$CURDIR
EOF
Home |
Main Index |
Thread Index |
Old Index