From 2d996a798bf486a0fa2ca053822b02b1335d3f0e Mon Sep 17 00:00:00 2001 From: uebayasi Date: Sat, 18 Sep 2004 14:01:53 +0000 Subject: If we're lucky, x86_64 will build with i386's configuration. Let's see... --- archivers/star/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3