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
commitc7923abf34568c909ff203eb84f0d7a8a3a5eccf (patch)
treec0e9cee51825ab0ed94787120dbaf1fcd5eca947 /pkgtools
parent864356c7000fc6da64df45ff9d186cbd06ac5589 (diff)
downloadpkgsrc-c7923abf34568c909ff203eb84f0d7a8a3a5eccf.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