summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg>2015-04-19 01:37:55 +0000
committerjoerg <joerg>2015-04-19 01:37:55 +0000
commitc1db693f31894fc8097065fe49cbfd79a5b1cc27 (patch)
treee9d3d1b4b7d881dc527b4003125204f7aeb5b089 /mk
parent791e5b9909ef249a5d5e724997b6732036cfc21e (diff)
downloadpkgsrc-c1db693f31894fc8097065fe49cbfd79a5b1cc27.tar.gz
Specify safer WRKSRC for meta packages. As they don't extract files,
they won't create the subdirectory either. Since the SUBST targets try to change to WRKSRC first, they fail. This is seen with meta packages depending on Freetype2 when using X11_TYPE=native.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.prefs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 00cb5e37f76..41efbf48fbe 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.361 2015/03/14 17:37:19 sevan Exp $
+# $NetBSD: bsd.prefs.mk,v 1.362 2015/04/19 01:37:55 joerg Exp $
#
# This file includes the mk.conf file, which contains the user settings.
#
@@ -477,6 +477,8 @@ DISTFILES= # none
PLIST_SRC= # none
CHECK_PERMS= no
USE_LANGUAGES= # empty
+WRKSRC= ${WRKDIR}
+
do-patch:
@${DO_NADA}
do-install: