pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Use PKGNAME_NOREV as a part of default WRKSRC if DI...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d81c420c9dd0
branches: trunk
changeset: 631363:d81c420c9dd0
user: obache <obache%pkgsrc.org@localhost>
date: Mon Mar 03 03:21:16 2014 +0000
description:
Use PKGNAME_NOREV as a part of default WRKSRC if DISTNAME is not defined.
diffstat:
mk/bsd.pkg.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9239414a3ac3 -r d81c420c9dd0 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Mon Mar 03 02:37:23 2014 +0000
+++ b/mk/bsd.pkg.mk Mon Mar 03 03:21:16 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1994 2014/03/02 08:54:41 obache Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1995 2014/03/03 03:21:16 obache Exp $
#
# This file is in the public domain.
#
@@ -97,7 +97,7 @@
PKGWILDCARD?= ${PKGBASE}-[0-9]*
SVR4_PKGNAME?= ${PKGNAME}
TOOL_DEPENDS?= # empty
-WRKSRC?= ${WRKDIR}/${DISTNAME}
+WRKSRC?= ${WRKDIR}/${DISTNAME:U${PKGNAME_NOREV}}
# Override for SU_CMD user check
_IS_ROOT_CMD?= ${TEST} `${ID} -u` = `${ID} -u ${_SU_ROOT_USER}`
Home |
Main Index |
Thread Index |
Old Index