diff options
author | linimon <linimon@FreeBSD.org> | 2006-01-23 07:04:10 +0000 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2006-01-23 07:04:10 +0000 |
commit | 3b6dedf061c6e56b7c164dfcb80890f7eafd76ba (patch) | |
tree | 8938dfe1d642e6f310e73055e165811e4b10b0d0 /devel | |
parent | 225fbcc4fe37d05602ca410c041ea9ecb6c6bc55 (diff) | |
download | FreeBSD-ports-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.zip FreeBSD-ports-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.tar.gz |
Revert last commit. It is not possible (yet) to have the dirrmtry usage
in the post-install target. Its usage must preceed generate-plist.
This problem needs to be revisited either in a rework of bsd.port.mk or
each of these Makefiles.
Hat: portmgr
Pointy hat: edwin`
Diffstat (limited to 'devel')
-rw-r--r-- | devel/cvsweb/Makefile | 3 | ||||
-rw-r--r-- | devel/cvsweb3/Makefile | 4 | ||||
-rw-r--r-- | devel/py-reverse/Makefile | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile index ae355ef..dcbdcf1 100644 --- a/devel/cvsweb/Makefile +++ b/devel/cvsweb/Makefile @@ -81,8 +81,7 @@ do-install: post-install: .if defined(PACKAGE_BUILDING) - ${ECHO_CMD} "@dirrmtry ${CGIDIR}" >> ${TMPPLIST} - ${ECHO_CMD} "@dirrmtry ${ICONSDIR}" >> ${TMPPLIST} + ${ECHO_CMD} "@unexec rmdir %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST} .endif @${CAT} ${PKGMESSAGE} diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile index a09b0a3..0453888 100644 --- a/devel/cvsweb3/Makefile +++ b/devel/cvsweb3/Makefile @@ -120,9 +120,7 @@ do-install: post-install: .if defined(PACKAGE_BUILDING) - ${ECHO_CMD} "@dirrmtry ${CGIDIR}" >> ${TMPPLIST} - ${ECHO_CMD} "@dirrmtry ${ICONSDIR}" >> ${TMPPLIST} - ${ECHO_CMD} "@dirrmtry ${CSSDIR}" >> ${TMPPLIST} + ${ECHO_CMD} "@unexec rmdir -p %D/${CGIDIR} %D/${ICONSDIR} %D/${CSSDIR} 2>/dev/null || true" >> ${TMPPLIST} .endif @${CAT} ${PKGMESSAGE} diff --git a/devel/py-reverse/Makefile b/devel/py-reverse/Makefile index f6860a3..2b9192a 100644 --- a/devel/py-reverse/Makefile +++ b/devel/py-reverse/Makefile @@ -28,6 +28,6 @@ post-install: ${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${PYTHON_SITELIBDIR}/logilab/pyreverse -type d | ${SORT} -r | \ ${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} - @${ECHO_CMD} "@dirrmtry %%PYTHSON_SITELIBDIR%%/logilab" >> ${TMPPLIST} + @${ECHO_CMD} "@unexec rmdir %D/%%PYTHSON_SITELIBDIR%%/logilab 2>/dev/null || true" >> ${TMPPLIST} .include <bsd.port.mk> |