aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-05-28 01:43:33 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-05-28 01:43:33 +0000
commitda944492999774723af5fc3053d3886107b2f29f (patch)
treeb6544e8029ef4782e60c752f702a7a95c73a85f0
parent7bc585c253a0a5e3428694a128890c904aef00a0 (diff)
downloadports-da944492999774723af5fc3053d3886107b2f29f.tar.gz
ports-da944492999774723af5fc3053d3886107b2f29f.zip
Allow `make reinstall' to work.
Notes
Notes: svn path=/head/; revision=60155
-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>