summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2015-04-19 01:37:55 +0000
committerjoerg <joerg@pkgsrc.org>2015-04-19 01:37:55 +0000
commitf6ca6674351ab5786efbdb108d14ed8f8c85a4b5 (patch)
treee9d3d1b4b7d881dc527b4003125204f7aeb5b089 /mk
parent633dcd9a69a8e767bd04e6deb67ef2b43c522dba (diff)
downloadpkgsrc-f6ca6674351ab5786efbdb108d14ed8f8c85a4b5.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: