pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk If NO_WRKDIR_SYMLINK is defined, no symlink to ${WR...
details: https://anonhg.NetBSD.org/pkgsrc/rev/86ec786f3ba6
branches: trunk
changeset: 494050:86ec786f3ba6
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed May 18 19:42:01 2005 +0000
description:
If NO_WRKDIR_SYMLINK is defined, no symlink to ${WRKSRC} is created when
the WRKOBJDIR is set explicitly. This allows for having pkgsrc mounted
r/w without actually modifying it.
diffstat:
mk/bsd.pkg.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 1ede76215c62 -r 86ec786f3ba6 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Wed May 18 19:12:06 2005 +0000
+++ b/mk/bsd.pkg.mk Wed May 18 19:42:01 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1670 2005/05/18 02:52:38 rillig Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1671 2005/05/18 19:42:01 rillig Exp $
#
# This file is in the public domain.
#
@@ -1697,10 +1697,12 @@
${RM} -f ${WRKDIR_BASENAME} || ${TRUE}
. endif
. endif
+. if !defined(NO_WRKDIR_SYMLINK)
${_PKG_SILENT}${_PKG_DEBUG} \
if ${LN} -s ${WRKDIR} ${WRKDIR_BASENAME} 2>/dev/null; then \
${ECHO} "${WRKDIR_BASENAME} -> ${WRKDIR}"; \
fi
+. endif
.endif # WRKOBJDIR
Home |
Main Index |
Thread Index |
Old Index