diff options
author | rillig <rillig> | 2005-05-18 23:59:44 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-05-18 23:59:44 +0000 |
commit | dc253063c0947f38f93f7b9004f424ebd56f5d3f (patch) | |
tree | 5389e91da2f70744b5ea622a6ed73454deb29e90 | |
parent | 0af17699280ffbc0b55617114ec22e7b674bd8cc (diff) | |
download | pkgsrc-dc253063c0947f38f93f7b9004f424ebd56f5d3f.tar.gz |
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".
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index ddfd741bfe4..38ac3c68505 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ MKCRYPTO?= YES # build crypto packages by default 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 @@ ${WRKDIR}: ${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}"; \ |