summaryrefslogtreecommitdiff
path: root/www/mod_php5
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2000-04-04 20:32:22 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2000-04-04 20:32:22 +0000
commit052f61ac99b3c5bc29156ed9996d13763cc1c6f9 (patch)
tree54af63e25364a5b070a79c5b90d367cea3b58c7f /www/mod_php5
parentUpgrade to php-4.0RC1. (diff)
Replace clean target with post-clean target.
Notes
Notes: svn path=/head/; revision=27334
Diffstat (limited to 'www/mod_php5')
-rw-r--r--www/mod_php5/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index da2931dbdd44..c7317d41c8a8 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/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)