pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Specify safer WRKSRC for meta packages. As they don...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a90ebd24988e
branches:  trunk
changeset: 650158:a90ebd24988e
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Apr 19 01:37:55 2015 +0000

description:
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:

 mk/bsd.prefs.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r a8b83d2f4a69 -r a90ebd24988e mk/bsd.prefs.mk
--- a/mk/bsd.prefs.mk   Sun Apr 19 00:57:05 2015 +0000
+++ b/mk/bsd.prefs.mk   Sun Apr 19 01:37:55 2015 +0000
@@ -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 @@
 PLIST_SRC=             # none
 CHECK_PERMS=           no
 USE_LANGUAGES=         # empty
+WRKSRC=                        ${WRKDIR}
+
 do-patch:
        @${DO_NADA}
 do-install:



Home | Main Index | Thread Index | Old Index