pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg Improve the most trivial parts of a patch...
details: https://anonhg.NetBSD.org/pkgsrc/rev/266bd84cb781
branches: trunk
changeset: 354328:266bd84cb781
user: khorben <khorben%pkgsrc.org@localhost>
date: Thu Oct 27 00:06:54 2016 +0000
description:
Improve the most trivial parts of a patch from John Marino
This does:
- remove the requirement for C++ (there is no C++ code there)
- properly substitute $PKGSRCDIR for PORTSDIR
- remove sbin/pkg2ng as it is inapplicable for pkgsrc
- bump PKGREVISION accordingly
More changes pending...
diffstat:
pkgtools/pkg/Makefile | 9 +++++----
pkgtools/pkg/PLIST | 3 +--
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (51 lines):
diff -r d2219edac685 -r 266bd84cb781 pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile Wed Oct 26 23:41:24 2016 +0000
+++ b/pkgtools/pkg/Makefile Thu Oct 27 00:06:54 2016 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2016/10/25 12:54:37 khorben Exp $
+# $NetBSD: Makefile,v 1.7 2016/10/27 00:06:54 khorben Exp $
DISTNAME= pkg-1.8.7
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= pkgtools
MASTER_SITES= http://files.etoilebsd.net/pkg/
EXTRACT_SUFX= .tar.xz
@@ -12,10 +12,10 @@
LICENSE= 2-clause-bsd
GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c
CPPFLAGS+= -D_LOCALBASE="\"${PREFIX}\""
-CPPFLAGS+= -DPORTSDIR="\"/usr/pkgsrc\""
+CPPFLAGS+= -DPORTSDIR="\"${PKGSRCDIR}\""
AUTO_MKDIRS= yes
@@ -56,6 +56,7 @@
${WRKSRC}/src/
post-install:
+ ${RM} ${DESTDIR}${PREFIX}/sbin/pkg2ng
${MV} ${DESTDIR}${PREFIX}/etc/bash_completion.d/_pkg.bash \
${DESTDIR}${EGDIR}/bash_completion.d/_pkg.bash
${RMDIR} ${DESTDIR}${PREFIX}/etc/bash_completion.d
diff -r d2219edac685 -r 266bd84cb781 pkgtools/pkg/PLIST
--- a/pkgtools/pkg/PLIST Wed Oct 26 23:41:24 2016 +0000
+++ b/pkgtools/pkg/PLIST Thu Oct 27 00:06:54 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/08/27 21:57:05 khorben Exp $
+@comment $NetBSD: PLIST,v 1.4 2016/10/27 00:06:54 khorben Exp $
include/pkg.h
lib/libpkg.la
lib/libpkg_static.la
@@ -44,7 +44,6 @@
man/man8/pkg.8
sbin/pkg
sbin/pkg-static
-sbin/pkg2ng
share/examples/pkg/bash_completion.d/_pkg.bash
share/examples/pkg/periodic/daily/411.pkg-backup
share/examples/pkg/periodic/daily/490.status-pkg-changes
Home |
Main Index |
Thread Index |
Old Index