pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Replaced the NO_WRKDIR_SYMLINK variable with CREATE...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90a7be627e04
branches:  trunk
changeset: 494080:90a7be627e04
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 18 23:59:44 2005 +0000

description:
Replaced the NO_WRKDIR_SYMLINK variable with CREATE_WRKDIR_SYMLINK, as
suggested by Alistair. If you don't want the symlinks, set the variable
to "no".

diffstat:

 mk/bsd.pkg.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r a9d57b685c82 -r 90a7be627e04 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed May 18 23:22:01 2005 +0000
+++ b/mk/bsd.pkg.mk     Wed May 18 23:59:44 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1671 2005/05/18 19:42:01 rillig Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1672 2005/05/18 23:59:44 rillig Exp $
 #
 # This file is in the public domain.
 #
@@ -88,6 +88,7 @@
 NOCLEAN?=              NO      # don't clean up after update
 REINSTALL?=            NO      # reinstall upon update
 SHLIB_HANDLING?=       YES     # do automatic shared lib handling
+CREATE_WRKDIR_SYMLINK?=        yes     # create a symlink to WRKOBJDIR
 
 ##### Variant spellings
 
@@ -1697,7 +1698,7 @@
        ${RM} -f ${WRKDIR_BASENAME} || ${TRUE}
 .    endif
 .  endif
-.  if !defined(NO_WRKDIR_SYMLINK)
+.  if !empty(CREATE_WRKDIR_SYMLINK:M[Yy][Ee][Ss])
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
        if ${LN} -s ${WRKDIR} ${WRKDIR_BASENAME} 2>/dev/null; then      \
                ${ECHO} "${WRKDIR_BASENAME} -> ${WRKDIR}";              \



Home | Main Index | Thread Index | Old Index