aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/star-devel
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-14 10:19:33 +0800
committerobrien <obrien@FreeBSD.org>2001-04-14 10:19:33 +0800
commitf0df10deffeac19a481c25c217ec761339cd2515 (patch)
treee774b52c28cda9a294041f0d61366d12ff3acb13 /archivers/star-devel
parent6ab699e3b09b8683bc468709386dc2cba877e74f (diff)
downloadfreebsd-ports-gnome-f0df10deffeac19a481c25c217ec761339cd2515.tar.gz
freebsd-ports-gnome-f0df10deffeac19a481c25c217ec761339cd2515.tar.zst
freebsd-ports-gnome-f0df10deffeac19a481c25c217ec761339cd2515.zip
* Build with compilers other than cc: egcs, ccc, ....
* Cosmetic: Remove useless subshell. Submitted by: Christian Weisgerber <naddy@mips.inka.de>
Diffstat (limited to 'archivers/star-devel')
-rw-r--r--archivers/star-devel/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/star-devel/Makefile b/archivers/star-devel/Makefile
index 68dc839c1b94..39b298cfc4df 100644
--- a/archivers/star-devel/Makefile
+++ b/archivers/star-devel/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>