summaryrefslogtreecommitdiff
path: root/www/mod_php5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5/Makefile')
-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)