summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/star-devel/Makefile6
-rw-r--r--archivers/star/Makefile6
-rw-r--r--sysutils/star/Makefile6
3 files changed, 9 insertions, 9 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>
diff --git a/archivers/star/Makefile b/archivers/star/Makefile
index 68dc839c1b94..39b298cfc4df 100644
--- a/archivers/star/Makefile
+++ b/archivers/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>
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>