pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/createbuildlink pkgtools/createbuildlink: fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a4794b3378b
branches:  trunk
changeset: 381535:3a4794b3378b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 08 18:06:19 2022 +0000

description:
pkgtools/createbuildlink: fix location of BUILDLINK_DEPMETHOD

Reported by Mayuresh in
https://mail-index.netbsd.org/pkgsrc-users/2022/07/08/msg035799.html.

Bump version.

diffstat:

 pkgtools/createbuildlink/Makefile              |  14 +++++++-------
 pkgtools/createbuildlink/files/createbuildlink |  15 ++++++++-------
 2 files changed, 15 insertions(+), 14 deletions(-)

diffs (86 lines):

diff -r 6b24a7a93269 -r 3a4794b3378b pkgtools/createbuildlink/Makefile
--- a/pkgtools/createbuildlink/Makefile Fri Jul 08 17:58:32 2022 +0000
+++ b/pkgtools/createbuildlink/Makefile Fri Jul 08 18:06:19 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.56 2020/05/16 06:28:52 rillig Exp $
+# $NetBSD: Makefile,v 1.57 2022/07/08 18:06:19 rillig Exp $
 
-PKGNAME=       createbuildlink-3.18
+PKGNAME=       createbuildlink-3.19
 CATEGORIES=    pkgtools sysutils
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,14 +8,14 @@
 LICENSE=       original-bsd
 
 WRKSRC=                ${WRKDIR}
-USE_LANGUAGES= # empty
+USE_LANGUAGES= # none
 NO_BUILD=      yes
 
-SCRIPT=                ${PKGNAME:C/-.*$//}
+SCRIPT=                createbuildlink
 SCRIPTS=       ${SCRIPT} substplistbasedirs
 REPLACE_SH+=   ${SCRIPTS}
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man8
+AUTO_MKDIRS=   yes
 
 SUBST_CLASSES+=                vars
 SUBST_STAGE.vars=      pre-configure
@@ -27,8 +27,8 @@
 
 do-install:
 .for scr in ${SCRIPTS}
-       ${INSTALL_SCRIPT} ${WRKSRC:Q}/${scr:Q} ${DESTDIR}${PREFIX}/bin/${scr:Q}
+       ${INSTALL_SCRIPT} ${WRKSRC}/${scr} ${DESTDIR}${PREFIX}/bin/
 .endfor
-       ${INSTALL_MAN} ${FILESDIR:Q}/${SCRIPT:Q}.8 ${DESTDIR}${PREFIX}/${PKGMANDIR:Q}/man8
+       ${INSTALL_MAN} ${FILESDIR}/${SCRIPT}.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
 
 .include "../../mk/bsd.pkg.mk"
diff -r 6b24a7a93269 -r 3a4794b3378b pkgtools/createbuildlink/files/createbuildlink
--- a/pkgtools/createbuildlink/files/createbuildlink    Fri Jul 08 17:58:32 2022 +0000
+++ b/pkgtools/createbuildlink/files/createbuildlink    Fri Jul 08 18:06:19 2022 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-#      $NetBSD: createbuildlink,v 1.39 2020/05/16 06:28:52 rillig Exp $
+#      $NetBSD: createbuildlink,v 1.40 2022/07/08 18:06:19 rillig Exp $
 #
 # Copyright (c) 2002 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -32,7 +32,7 @@
 # Create an initial buildlink3.mk from a package's Makefile and PLIST
 #
 
-REV=`echo '$Revision: 1.39 $' | sed 's/\\$//g'`
+REV=`echo '$Revision: 1.40 $' | sed 's/\\$//g'`
 tmpdir=/tmp
 spacesintab=8
 makefile=Makefile
@@ -108,11 +108,6 @@
 # XXX After this file has been verified as correct, the comment lines
 # XXX beginning with "XXX" should be removed.  Please do not commit
 # XXX unverified buildlink3.mk files.
-# XXX
-# XXX Packages that only install static libraries or headers should
-# XXX include the following line:
-# XXX
-# XXX  BUILDLINK_DEPMETHOD.$PKGNOVER?= build
 
 EOF
 
@@ -130,6 +125,12 @@
 .if !defined(${PKGUPPER}_BUILDLINK3_MK)
 ${PKGUPPER}_BUILDLINK3_MK:=
 
+# XXX
+# XXX Packages that only install static libraries or headers should
+# XXX include the following line:
+# XXX
+# XXX  BUILDLINK_DEPMETHOD.$PKGNOVER?= build
+
 EOF
 
 if [ -n "$GO_PACKAGE" ]



Home | Main Index | Thread Index | Old Index