diff options
author | dirk <dirk@FreeBSD.org> | 2000-04-05 04:32:22 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2000-04-05 04:32:22 +0800 |
commit | afbe1c172029d0395a27803e0ac1adbf6e3d0b0d (patch) | |
tree | e4d5318b7fef97c3977f9e3effb1d7131e5a98a1 /www/mod_php4 | |
parent | 3fa2b460e9ef067ae8433fef168f67f88266bdc3 (diff) | |
download | freebsd-ports-gnome-afbe1c172029d0395a27803e0ac1adbf6e3d0b0d.tar.gz freebsd-ports-gnome-afbe1c172029d0395a27803e0ac1adbf6e3d0b0d.tar.zst freebsd-ports-gnome-afbe1c172029d0395a27803e0ac1adbf6e3d0b0d.zip |
Replace clean target with post-clean target.
Diffstat (limited to 'www/mod_php4')
-rw-r--r-- | www/mod_php4/Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/www/mod_php4/Makefile b/www/mod_php4/Makefile index da2931dbdd44..c7317d41c8a8 100644 --- a/www/mod_php4/Makefile +++ b/www/mod_php4/Makefile @@ -142,20 +142,7 @@ post-install: @${ECHO} "and in ${PHPDOCDIR}" .endif -# This was copied from bsd.port.mk because a missing post-clean target -# is needed -clean: -.if !defined(NOCLEANDEPENDS) - @${MAKE} clean-depends -.endif - @${ECHO_MSG} "===> Cleaning for ${PKGNAME}" - @if [ -d ${WRKDIR} ]; then \ - if [ -w ${WRKDIR} ]; then \ - ${RM} -rf ${WRKDIR}; \ - else \ - ${ECHO_MSG} "===> ${WRKDIR} not writable, skipping"; \ - fi; \ - fi +post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) |