aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-28 09:43:33 +0800
committerobrien <obrien@FreeBSD.org>2002-05-28 09:43:33 +0800
commit85497be2cf03dcc6bb602591c5729deb671a9c00 (patch)
treea95e5c0f291dffec64e1d9e9286af3523cda9083 /java
parentcae4b16f807df1a798c97cc281999da4167aa8a1 (diff)
downloadfreebsd-ports-gnome-85497be2cf03dcc6bb602591c5729deb671a9c00.tar.gz
freebsd-ports-gnome-85497be2cf03dcc6bb602591c5729deb671a9c00.tar.zst
freebsd-ports-gnome-85497be2cf03dcc6bb602591c5729deb671a9c00.zip
Allow `make reinstall' to work.
Diffstat (limited to 'java')
-rw-r--r--java/linux-jdk13/Makefile2
-rw-r--r--java/linux-sun-jdk13/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/linux-jdk13/Makefile b/java/linux-jdk13/Makefile
index d8bdec195cf2..9d2f2d3e4b69 100644
--- a/java/linux-jdk13/Makefile
+++ b/java/linux-jdk13/Makefile
@@ -69,7 +69,7 @@ post-patch:
do-install:
@${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
- @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf-
+ @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} --unlink -xpf-
@${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}"
.include <bsd.port.post.mk>
diff --git a/java/linux-sun-jdk13/Makefile b/java/linux-sun-jdk13/Makefile
index d8bdec195cf2..9d2f2d3e4b69 100644
--- a/java/linux-sun-jdk13/Makefile
+++ b/java/linux-sun-jdk13/Makefile
@@ -69,7 +69,7 @@ post-patch:
do-install:
@${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
- @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} -xpf-
+ @${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION} --unlink -xpf-
@${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${JDK_VERSION}/bin/java # Linux-JDK${JDK_VERSION}"
.include <bsd.port.post.mk>