Skip to content

Commit

Permalink
If we're lucky, x86_64 will build with i386's configuration. Let's
Browse files Browse the repository at this point in the history
see...
  • Loading branch information
uebayasi committed Sep 18, 2004
1 parent 15578d5 commit 2d996a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion archivers/star/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2d996a7

Please sign in to comment.