summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-09-18 14:01:53 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-09-18 14:01:53 +0000
commit2d996a798bf486a0fa2ca053822b02b1335d3f0e (patch)
tree071b68d445696c04542dbc543296f5ec70421f9b /archivers
parent15578d5f8a2120801496e3e397dd917aedfa2107 (diff)
downloadpkgsrc-2d996a798bf486a0fa2ca053822b02b1335d3f0e.tar.gz
If we're lucky, x86_64 will build with i386's configuration. Let's
see...
Diffstat (limited to 'archivers')
-rw-r--r--archivers/star/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/archivers/star/Makefile b/archivers/star/Makefile
index a428464bf33..81c74deaa62 100644
--- a/archivers/star/Makefile
+++ b/archivers/star/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/07/28 02:47:35 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2004/09/18 14:01:53 uebayasi Exp $
#
DISTNAME= star-1.4.3
@@ -14,6 +14,12 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_GNU_TOOLS+= make
MAKE_FLAGS+= INS_BASE=${PREFIX}
+.if "${OPSYS}" == "NetBSD" && "${MACHINE_ARCH}" == "x86_64"
+post-extract:
+ ${LN} -s ${WRKSRC}/RULES/i386-netbsd-cc.rul \
+ ${WRKSRC}/RULES/x86_64-netbsd-cc.rul
+.endif
+
pre-build:
@cd ${WRKSRC}/RULES && for i in arm mipsel; do \
${LN} -s i386-netbsd-cc.rul $$i-netbsd-cc.rul; done