summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2015-04-21 00:26:48 +0000
committerjoerg <joerg>2015-04-21 00:26:48 +0000
commit283d6d2b9fdb5f6a6e45a1b474284946138ecbd2 (patch)
tree78f1d25227ff10328d5be641b58fce8b2b08f521
parent36723bba29880343322fbea2666a35daa2be72a9 (diff)
downloadpkgsrc-283d6d2b9fdb5f6a6e45a1b474284946138ecbd2.tar.gz
Use canonical version of config.guess and config.sub for inplace builds.
-rw-r--r--pkgtools/libnbcompat/inplace.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgtools/libnbcompat/inplace.mk b/pkgtools/libnbcompat/inplace.mk
index 62f93221a56..9090b727723 100644
--- a/pkgtools/libnbcompat/inplace.mk
+++ b/pkgtools/libnbcompat/inplace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: inplace.mk,v 1.11 2014/09/03 10:03:31 jperkin Exp $
+# $NetBSD: inplace.mk,v 1.12 2015/04/21 00:26:48 joerg Exp $
#
# This file should not be included directly. Use USE_FEATURES instead.
#
@@ -28,8 +28,12 @@ post-extract: libnbcompat-extract
.PHONY: libnbcompat-extract
libnbcompat-extract:
${RUN} ${CP} -R ${LIBNBCOMPAT_FILESDIR} ${LIBNBCOMPAT_SRCDIR}
+ ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${LIBNBCOMPAT_SRCDIR}/config.guess
+ ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${LIBNBCOMPAT_SRCDIR}/config.sub
.if !empty(LIBNBCOMPAT_USE_PIC:M[Yy][Ee][Ss])
${RUN} ${CP} -R ${LIBNBCOMPAT_FILESDIR} ${LIBNBCOMPAT_PICDIR}
+ ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${LIBNBCOMPAT_PICDIR}/config.guess
+ ${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${LIBNBCOMPAT_PICDIR}/config.sub
.endif
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])