. Unpack the timezone update in post-extract since unzip is only an

EXTRACT_DEPENDS, but keep the actual update in pre-install.

Pointed out by:	pav
This commit is contained in:
Greg Lewis 2007-07-11 02:43:08 +00:00
parent 1b542b7328
commit 032b7b7d95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195395
2 changed files with 6 additions and 2 deletions

View File

@ -102,8 +102,10 @@ time zone update file, ${TZUPDATEFILE}.\n\n
.if !defined(WITHOUT_TZUPDATE)
pre-install:
post-extract:
@${UNZIP_CMD} -qo ${DISTDIR}/${TZUPDATEFILE} -d ${WRKDIR}
pre-install:
@# Update time zones
@-${WRKSRC}/bin/java -jar \
${WRKDIR}/tzupdater-${TZUPDATE_VERSION}-${TZUPDATE_TZVERSION}/tzupdater.jar -u -bc

View File

@ -101,8 +101,10 @@ time zone update file, ${TZUPDATEFILE}.\n\n
.endif
.if defined(WITH_TZUPDATE)
pre-install:
post-extract:
@${UNZIP_CMD} -qo ${DISTDIR}/${TZUPDATEFILE} -d ${WRKDIR}
pre-install:
@# Update time zones
@-${WRKSRC}/bin/java -jar \
${WRKDIR}/tzupdater-${TZUPDATE_VERSION}-${TZUPDATE_TZVERSION}/tzupdater.jar -u -bc