summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/star/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/archivers/star/Makefile b/archivers/star/Makefile
index 995f3df2988..d81488751dc 100644
--- a/archivers/star/Makefile
+++ b/archivers/star/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2012/01/30 02:01:40 sbd Exp $
+# $NetBSD: Makefile,v 1.27 2012/03/20 14:19:15 hans Exp $
#
DISTNAME= star-1.4.3
@@ -19,13 +19,20 @@ MAKE_FLAGS+= MANDIR=${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
+.if !empty(CC:M*gcc*)
+MAKE_ENV+= CCOM=gcc
+.endif
+
pre-build:
set -e; \
cd ${WRKSRC}/RULES && for i in arm mipsel x86_64 sparc64; do \
+ ${LN} -s i386-netbsd-gcc.rul "$$i"-netbsd-gcc.rul; \
${LN} -s i386-netbsd-cc.rul "$$i"-netbsd-cc.rul; done
cd ${WRKSRC}/RULES && \
+ ${LN} -s i586-linux-gcc.rul x86_64-linux-gcc.rul; \
${LN} -s i586-linux-cc.rul x86_64-linux-cc.rul; \
${LN} -s os-freebsd.id os-dragonfly.id; \
+ ${LN} -s i386-freebsd-gcc.rul x86_64-freebsd-gcc.rul; \
${LN} -s i386-freebsd-cc.rul x86_64-freebsd-cc.rul
.include "../../mk/bsd.pkg.mk"