aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2012-01-03 10:49:30 +0800
committerglewis <glewis@FreeBSD.org>2012-01-03 10:49:30 +0800
commit96fe90fa26704bc93af793eccaddeb85237d75b7 (patch)
treeb933bb01495420515db649750d7fbf065b93ebd5 /java
parent7d17133c7023f5a1003d490aba138b8f6750c1ce (diff)
downloadfreebsd-ports-gnome-96fe90fa26704bc93af793eccaddeb85237d75b7.tar.gz
freebsd-ports-gnome-96fe90fa26704bc93af793eccaddeb85237d75b7.tar.zst
freebsd-ports-gnome-96fe90fa26704bc93af793eccaddeb85237d75b7.zip
. Fix the reinstall target by using cp rather than mv for updating the
zoneinfo files (otherwise they are no longer present during reinstall).
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk15/Makefile2
-rw-r--r--java/diablo-jre15/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/diablo-jdk15/Makefile b/java/diablo-jdk15/Makefile
index 86fe1ac384fe..b3431c958559 100644
--- a/java/diablo-jdk15/Makefile
+++ b/java/diablo-jdk15/Makefile
@@ -110,7 +110,7 @@ post-extract:
pre-install:
@${ECHO_CMD} -n "Updating time zones..."
@${RM} -rf ${WRKSRC}/jre/lib/zi
- @${MV} -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/jre/lib/
+ @${CP} -R -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/jre/lib/
@${ECHO_CMD} "done"
@-${RM} -rf ${WRKSRC}/jre/lib/zi.tzdata*
.endif
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index fd655c9b0c92..a692a09ae3c4 100644
--- a/java/diablo-jre15/Makefile
+++ b/java/diablo-jre15/Makefile
@@ -110,7 +110,7 @@ post-extract:
pre-install:
@${ECHO_CMD} -n "Updating time zones..."
@${RM} -rf ${WRKSRC}/lib/zi
- @${MV} -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/lib/
+ @${CP} -R -f ${WRKDIR}/tzupdater-${TZUPDATE_VERSION:S/_/./g}-${TZUPDATE_TZVERSION}/zi ${WRKSRC}/lib/
@${ECHO_CMD} "done"
@-${RM} -rf ${WRKSRC}/lib/zi.tzdata*
.endif