aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2012-01-03 10:43:38 +0800
committerglewis <glewis@FreeBSD.org>2012-01-03 10:43:38 +0800
commit7d17133c7023f5a1003d490aba138b8f6750c1ce (patch)
tree8a3299284de8450348e3340d1fa810e273f6d33b /java
parent07c91e8c3463f1e32b80e10c9f1646a1f28bb33d (diff)
downloadfreebsd-ports-gnome-7d17133c7023f5a1003d490aba138b8f6750c1ce.tar.gz
freebsd-ports-gnome-7d17133c7023f5a1003d490aba138b8f6750c1ce.tar.zst
freebsd-ports-gnome-7d17133c7023f5a1003d490aba138b8f6750c1ce.zip
. Fix the reinstall target by using cp rather than mv for updating the
zoneinfo files (otherwise they are no longer present during reinstall). PR: 163790 Submitted by: "A.J. Kehoe IV (Nanoman)" <cT2CTdJ6@nanoman.ca>
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk16/Makefile2
-rw-r--r--java/diablo-jre16/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/java/diablo-jdk16/Makefile b/java/diablo-jdk16/Makefile
index b56610443b2f..a194ab26eb6d 100644
--- a/java/diablo-jdk16/Makefile
+++ b/java/diablo-jdk16/Makefile
@@ -134,7 +134,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-jre16/Makefile b/java/diablo-jre16/Makefile
index ec8fceb66c0c..12f5c4f2e633 100644
--- a/java/diablo-jre16/Makefile
+++ b/java/diablo-jre16/Makefile
@@ -138,7 +138,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