aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/jdk/Makefile4
-rw-r--r--java/jdk11/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/java/jdk/Makefile b/java/jdk/Makefile
index aa7c1ddc6d83..130068296c09 100644
--- a/java/jdk/Makefile
+++ b/java/jdk/Makefile
@@ -32,7 +32,7 @@ DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
do-install:
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
- (cd ${WRKSRC} && tar -c -f - .) \
- | (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -)
+ (cd ${WRKSRC} && ${TAR} -c -f - .) \
+ | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
.include <bsd.port.post.mk>
diff --git a/java/jdk11/Makefile b/java/jdk11/Makefile
index aa7c1ddc6d83..130068296c09 100644
--- a/java/jdk11/Makefile
+++ b/java/jdk11/Makefile
@@ -32,7 +32,7 @@ DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
do-install:
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
- (cd ${WRKSRC} && tar -c -f - .) \
- | (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -)
+ (cd ${WRKSRC} && ${TAR} -c -f - .) \
+ | (cd ${PREFIX}/jdk${JDK_VERSION} && ${TAR} --unlink -x -f -)
.include <bsd.port.post.mk>