diff options
author | jlam <jlam> | 2003-01-10 09:59:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-10 09:59:25 +0000 |
commit | 8fa498136ac608d07a86223035aa92010310cb0f (patch) | |
tree | b930f027fc9a3a72b171abf81733d7c26ba473ea /mk | |
parent | 355009b96a122fbaba32e7a2059c4473687f7209 (diff) | |
download | pkgsrc-8fa498136ac608d07a86223035aa92010310cb0f.tar.gz |
Protect ${WRKDIR} from transformation. We only want to transform paths
from outside of the work directory.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index 7da446a7e08..d7da8da26c0 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.73 2003/01/10 08:44:21 jlam Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.74 2003/01/10 09:59:25 jlam Exp $ # # An example package buildlink2.mk file: # @@ -303,11 +303,16 @@ _BLNK_UNPROTECT_DIRS= # empty _BLNK_MANGLE_DIR.BUILDLINK_X11_DIR= _bUiLdLiNk_x11_dIr_ _BLNK_MANGLE_DIR.BUILDLINK_DIR= _bUiLdLiNk_dIr_ _BLNK_MANGLE_DIR.ZOULARISBASE= _zOuLaRiSbAsE_ +_BLNK_MANGLE_DIR.WRKDIR= _wRkDiR_ _BLNK_PROTECT_DIRS+= BUILDLINK_X11_DIR _BLNK_PROTECT_DIRS+= BUILDLINK_DIR .if defined(ZOULARISBASE) && (${ZOULARISBASE} != ${LOCALBASE}) _BLNK_PROTECT_DIRS+= ZOULARISBASE +.endif +_BLNK_PROTECT_DIRS+= WRKDIR +_BLNK_UNPROTECT_DIRS+= WRKDIR +.if defined(ZOULARISBASE) && (${ZOULARISBASE} != ${LOCALBASE}) _BLNK_UNPROTECT_DIRS+= ZOULARISBASE .endif _BLNK_UNPROTECT_DIRS+= BUILDLINK_DIR |