aboutsummaryrefslogtreecommitdiff
path: root/sysutils/star
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-04-14 02:19:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-04-14 02:19:33 +0000
commita0655feead4907f2fbb82817169973aba9f0a81f (patch)
tree9f371c4345629a578710899a1a73fc8d504a9ecb /sysutils/star
parent24e186934609267989161df4a1b9480682058755 (diff)
downloadports-a0655feead4907f2fbb82817169973aba9f0a81f.tar.gz
ports-a0655feead4907f2fbb82817169973aba9f0a81f.zip
Notes
Diffstat (limited to 'sysutils/star')
-rw-r--r--sysutils/star/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/star/Makefile b/sysutils/star/Makefile
index 68dc839c1b94..39b298cfc4df 100644
--- a/sysutils/star/Makefile
+++ b/sysutils/star/Makefile
@@ -20,16 +20,16 @@ MAKE_ENV= MAKEPROG=gmake CCOM=${CC}
MAN1= star.1
MLINKS= star.1 ustar.1
-.if ${MACHINE_ARCH} != "i386"
+.if ${MACHINE_ARCH} != "i386" || ${CC} != "cc"
post-extract:
@${LN} -sf i386-freebsd-cc.rul \
- ${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-cc.rul
+ ${WRKSRC}/RULES/${MACHINE_ARCH}-freebsd-${CC}.rul
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/star/OBJ/${MACHINE_ARCH}-freebsd-cc/star \
${PREFIX}/bin
- (cd ${PREFIX}/bin; ${LN} -f star ustar)
+ cd ${PREFIX}/bin ; ${LN} -f star ustar
${INSTALL_MAN} ${WRKSRC}/star/star.1 ${PREFIX}/man/man1
.include <bsd.port.mk>