aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/linux-blackdown-jdk12/Makefile4
-rw-r--r--java/linux-jdk/Makefile4
2 files changed, 2 insertions, 6 deletions
diff --git a/java/linux-blackdown-jdk12/Makefile b/java/linux-blackdown-jdk12/Makefile
index d73c28c8d967..bce3f710e69e 100644
--- a/java/linux-blackdown-jdk12/Makefile
+++ b/java/linux-blackdown-jdk12/Makefile
@@ -28,9 +28,7 @@ NO_BUILD= yes
do-install:
${MKDIR} ${PREFIX}/linux-jdk1.2.2
- (cd ${WRKSRC} && tar -c -f - .) \
+ (cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
| (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -)
- ${RM} ${PREFIX}/linux-jdk1.2.2/bin/.java_wrapper.orig
- ${RM} ${PREFIX}/linux-jdk1.2.2/jre/bin/.java_wrapper.orig
.include <bsd.port.mk>
diff --git a/java/linux-jdk/Makefile b/java/linux-jdk/Makefile
index d73c28c8d967..bce3f710e69e 100644
--- a/java/linux-jdk/Makefile
+++ b/java/linux-jdk/Makefile
@@ -28,9 +28,7 @@ NO_BUILD= yes
do-install:
${MKDIR} ${PREFIX}/linux-jdk1.2.2
- (cd ${WRKSRC} && tar -c -f - .) \
+ (cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
| (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -)
- ${RM} ${PREFIX}/linux-jdk1.2.2/bin/.java_wrapper.orig
- ${RM} ${PREFIX}/linux-jdk1.2.2/jre/bin/.java_wrapper.orig
.include <bsd.port.mk>