diff options
author | rillig <rillig@pkgsrc.org> | 2006-10-09 02:37:32 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-10-09 02:37:32 +0000 |
commit | 39f8019a3e4af578994bf8e2ea4e0b1a7977f973 (patch) | |
tree | 6a8af21c9ddb2c9dd86a25e5f83633a609e701f3 | |
parent | 22d4a3747ab91029c3282aa7bd271be6c2520dea (diff) | |
download | pkgsrc-39f8019a3e4af578994bf8e2ea4e0b1a7977f973.tar.gz |
Forgot to provide the default value for EXTRACT_DIR.
EXTRACT_DIR may be given relative to WRKDIR.
-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 |