diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-12-22 00:06:41 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-12-22 00:06:41 +0000 |
commit | 09b2f0f5be41bf099379bf50991e7048aa3d0461 (patch) | |
tree | 1134d52cb7be6bee51ecde0171aedc07d13e6572 /x11 | |
parent | 7827faf297bcf719c4851247a26e5f72158748ce (diff) |
Nasty hack to force newer timestamps on cache. Required to enable
correct building of KDE i18n ports. Only used in those.
Submitted by: bento
Reviewed by: Lauri Watts <lauri@kde.org>
Approved by: FreeBSD KDE Team <kde@FreeBSD.org>
Notes
Notes:
svn path=/head/; revision=71766
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kde3/Makefile.kde | 8 | ||||
-rw-r--r-- | x11/kde4/Makefile.kde | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/x11/kde3/Makefile.kde b/x11/kde3/Makefile.kde index fe30441d54e0..702ba2e09519 100644 --- a/x11/kde3/Makefile.kde +++ b/x11/kde3/Makefile.kde @@ -17,6 +17,14 @@ _NO_KDE_FINAL= yes _NO_KDE_NDEBUG= yes DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX:S/-$//}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PKGNAMEPREFIX:S/-$//} + +# nasty hack to force newer timestamps on cache +# required to enable correct building +.if !target(post-extract) +post-extract: + @${FIND} ${WRKDIR} -type f -name index.cache.bz2 \ + | ${XARGS} -n 10 -x ${TOUCH} +.endif .endif # KDE_DIST_VERSION (PORTVERSION) diff --git a/x11/kde4/Makefile.kde b/x11/kde4/Makefile.kde index fe30441d54e0..702ba2e09519 100644 --- a/x11/kde4/Makefile.kde +++ b/x11/kde4/Makefile.kde @@ -17,6 +17,14 @@ _NO_KDE_FINAL= yes _NO_KDE_NDEBUG= yes DISTNAME= ${PORTNAME}-${PKGNAMEPREFIX:S/-$//}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PKGNAMEPREFIX:S/-$//} + +# nasty hack to force newer timestamps on cache +# required to enable correct building +.if !target(post-extract) +post-extract: + @${FIND} ${WRKDIR} -type f -name index.cache.bz2 \ + | ${XARGS} -n 10 -x ${TOUCH} +.endif .endif # KDE_DIST_VERSION (PORTVERSION) |