summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-03-08 17:20:40 +0000
committerjoerg <joerg@pkgsrc.org>2010-03-08 17:20:40 +0000
commit0fd0add6d36ae3e9af55837c8bcabddf6d7783a6 (patch)
treec0e9cee51825ab0ed94787120dbaf1fcd5eca947 /pkgtools
parent2f1ccc195be2240883c36aa1f194b67ff1fce062 (diff)
downloadpkgsrc-0fd0add6d36ae3e9af55837c8bcabddf6d7783a6.tar.gz
Make sure to overwrite the config.guess script in libarchive for the
sake of Interix.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index de853dffef1..3cb5fb42456 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.173 2010/02/20 20:24:24 joerg Exp $
+# $NetBSD: Makefile,v 1.174 2010/03/08 17:20:40 joerg Exp $
# Notes to package maintainers:
#
@@ -121,6 +121,11 @@ LDFLAGS+= -L${WRKDIR}/zlib
.if empty(USE_BUILTIN.libarchive:M[yY][eE][sS])
CPPFLAGS+= -I${WRKDIR}/libarchive/libarchive
LDFLAGS+= -L${WRKDIR}/libarchive/.libs
+
+CONFIG_GUESS_OVERRIDE+= ${WRKDIR}/libarchive/build/autoconf/config.guess
+
+# Hack to make sure that the libarchive version is replaced
+pre-configure: config-guess-override
.endif
CPPFLAGS+= -I${WRKDIR}/libfetch
LDFLAGS+= -L${WRKDIR}/libfetch