diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-14 10:55:03 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-12-14 10:55:03 +0800 |
commit | 24af5653aefc916e21038731492aa9eab433b210 (patch) | |
tree | 05180d7c1132bf2aca1700b81169ef04408680a2 /Mk | |
parent | 77b2259f71cc31dc865c5853c9a91528883d4fe0 (diff) | |
download | marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.tar marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.tar.gz marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.tar.bz2 marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.tar.lz marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.tar.xz marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.tar.zst marcuscom-ports-24af5653aefc916e21038731492aa9eab433b210.zip |
- Actually commit the right file
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8040 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 0fac1c4b3..b23a7fdb0 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1780,11 +1780,7 @@ LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv .endif .if defined(USE_GETTEXT) -. if ${USE_GETTEXT:L} == "yes" || ${USE_GETTEXT:L} == "rmdir" LIB_DEPENDS+= intl:${PORTSDIR}/devel/gettext -. else -LIB_DEPENDS+= intl.${USE_GETTEXT}:${PORTSDIR}/devel/gettext -. endif .endif @@ -5441,9 +5437,10 @@ generate-plist: @${MTREE_CMD} -f ${MTREE_FILE} -L -p ${WRKDIR}/emptydir | ${GREP} "share/locale/.*/LC_MESSAGES" \ | ${SED} -e 's|./||; s| missing||' > ${WRKDIR}/.locale.mtree . for po in ${USE_GETTEXT} - @for i in `${GREP} "^share/locale/.*/LC_MESSAGES/$${po}.mo" ${TMPPLIST} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} | ${CUT} -d / -f 1-3 | ${SORT} -r`; do \ + @for i in `${GREP} "^share/locale/.*/LC_MESSAGES/${po}.mo" ${TMPPLIST} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} | ${CUT} -d / -f 1-4 | ${SORT} -r`; do \ if [ "$${i}//" != "`${GREP} -o "$${i}//" ${WRKDIR}/.locale.mtree`" ]; then \ ${ECHO_CMD} "@unexec rmdir %D/$${i} 2>/dev/null || true" >> ${TMPPLIST} ; \ + ${ECHO_CMD} $${i} | ${CUT} -d / -f 1-3 | ${SED} -e 's|^|@unexec rmdir %D/|; s~$$~ 2>/dev/null || true~' >> ${TMPPLIST} ; \ fi \ done . endfor |