summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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