diff options
author | rillig <rillig> | 2006-10-09 02:37:32 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-10-09 02:37:32 +0000 |
commit | 87c8459b66ac9ce32e28c9e52c125f2d995ab4cf (patch) | |
tree | 6a8af21c9ddb2c9dd86a25e5f83633a609e701f3 /mk/extract | |
parent | 2d1e146f5e2623aaf93da70264e77f5a47014259 (diff) | |
download | pkgsrc-87c8459b66ac9ce32e28c9e52c125f2d995ab4cf.tar.gz |
Forgot to provide the default value for EXTRACT_DIR.
EXTRACT_DIR may be given relative to WRKDIR.
Diffstat (limited to 'mk/extract')
-rw-r--r-- | mk/extract/extract.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/extract/extract.mk b/mk/extract/extract.mk index 453df0f531a..dbdd0ca0cc6 100644 --- a/mk/extract/extract.mk +++ b/mk/extract/extract.mk @@ -1,4 +1,4 @@ -# $NetBSD: extract.mk,v 1.16 2006/10/09 02:31:57 rillig Exp $ +# $NetBSD: extract.mk,v 1.17 2006/10/09 02:37:32 rillig Exp $ # # The following variables may be set by the package Makefile and # specify how extraction happens: @@ -40,6 +40,8 @@ # EXTRACT_OPTS, EXTRACT_USING and EXTRACT_ELEMENTS. # +EXTRACT_DIR?= ${WRKDIR} + _COOKIE.extract= ${WRKDIR}/.extract_done ###################################################################### @@ -195,7 +197,7 @@ do-extract: ${WRKDIR} . for __file__ in ${EXTRACT_ONLY} ${_PKG_SILENT}${_PKG_DEBUG} \ extract_file=${_DISTDIR:Q}/${__file__:Q}; export extract_file; \ - cd ${EXTRACT_DIR} && ${EXTRACT_CMD} + cd ${WRKDIR} && cd ${EXTRACT_DIR} && ${EXTRACT_CMD} . endfor .endif |