pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/createbuildlink Changed two lines in the gene...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/725659b11555
branches:  trunk
changeset: 512665:725659b11555
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 13 11:29:46 2006 +0000

description:
Changed two lines in the generated buildlink3.mk files. For quite a long
time, the !empty(BUILDLINK_DEPTH:M+) lines confused me, so I changed
them to be ${BUILDLINK_DEPTH} == "+", which has the same effect. Changed
the version number to 3.12.

diffstat:

 pkgtools/createbuildlink/Makefile              |  4 ++--
 pkgtools/createbuildlink/files/createbuildlink |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r eac06300e3f7 -r 725659b11555 pkgtools/createbuildlink/Makefile
--- a/pkgtools/createbuildlink/Makefile Sat May 13 11:24:28 2006 +0000
+++ b/pkgtools/createbuildlink/Makefile Sat May 13 11:29:46 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.40 2006/04/06 06:36:37 reed Exp $
+# $NetBSD: Makefile,v 1.41 2006/05/13 11:29:46 rillig Exp $
 
-DISTNAME=      createbuildlink-3.11
+DISTNAME=      createbuildlink-3.12
 CATEGORIES=    pkgtools sysutils
 MASTER_SITES=  # Nothing
 DISTFILES=     # Nothing
diff -r eac06300e3f7 -r 725659b11555 pkgtools/createbuildlink/files/createbuildlink
--- a/pkgtools/createbuildlink/files/createbuildlink    Sat May 13 11:24:28 2006 +0000
+++ b/pkgtools/createbuildlink/files/createbuildlink    Sat May 13 11:29:46 2006 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: createbuildlink,v 1.30 2006/04/06 06:36:36 reed Exp $
+#      $NetBSD: createbuildlink,v 1.31 2006/05/13 11:29:46 rillig Exp $
 #
 # Copyright (c) 2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -39,7 +39,7 @@
 # Create an initial buildlink3.mk from a package's Makefile and PLIST
 #
 
-REV=`echo '$Revision: 1.30 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.31 $' | sed 's/\\$//g'`
 tmpdir=/tmp
 spacesintab=8
 makefile=Makefile
@@ -144,14 +144,14 @@
 
 sed -f $sedrules <<EOF
 
-.if !empty(BUILDLINK_DEPTH:M+)
+.if \${BUILDLINK_DEPTH} == "+"
 BUILDLINK_DEPENDS+=    ${PKGNOVER}
 .endif
 
 BUILDLINK_PACKAGES:=   \${BUILDLINK_PACKAGES:N${PKGNOVER}}
 BUILDLINK_PACKAGES+=   $PKGNOVER
 
-.if !empty(${PKGUPPER}_BUILDLINK3_MK:M+)
+.if \${${PKGUPPER}_BUILDLINK3_MK} == "+"
 EOF
 
 sed -f $sedrules <<EOF



Home | Main Index | Thread Index | Old Index