aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2000-04-05 04:32:22 +0800
committerdirk <dirk@FreeBSD.org>2000-04-05 04:32:22 +0800
commitafbe1c172029d0395a27803e0ac1adbf6e3d0b0d (patch)
treee4d5318b7fef97c3977f9e3effb1d7131e5a98a1
parent3fa2b460e9ef067ae8433fef168f67f88266bdc3 (diff)
downloadfreebsd-ports-gnome-afbe1c172029d0395a27803e0ac1adbf6e3d0b0d.tar.gz
freebsd-ports-gnome-afbe1c172029d0395a27803e0ac1adbf6e3d0b0d.tar.zst
freebsd-ports-gnome-afbe1c172029d0395a27803e0ac1adbf6e3d0b0d.zip
Replace clean target with post-clean target.
-rw-r--r--www/mod_php3/Makefile15
-rw-r--r--www/mod_php4/Makefile15
-rw-r--r--www/mod_php5/Makefile15
3 files changed, 3 insertions, 42 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index d16aaacd2373..8644a1276cf9 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -148,20 +148,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)
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)
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)