summaryrefslogtreecommitdiff
path: root/lang/php52
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-05-04 22:48:03 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-05-04 22:48:03 +0000
commit5ac18767d1594a7c77ba505b9672eb4e3b5284bc (patch)
treeab399d9912d8f00891d9d8508edf96aa3ef0bc0b /lang/php52
parentDo not overwrite BUILD_DEPENDS (diff)
Fix installation of ports that rely on cp -n for installing files. r245960
changed cp to exit with a non-zero exit code if the file exists and is not overwritten thus causing ports to fail installing when e.g. trying to cp .default -> .conf files that already exist. We just ignore the error and continue, as we used to. Reported by: jaset Approved by: portmgr (bapt)
Diffstat (limited to 'lang/php52')
-rw-r--r--lang/php52/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/php52/Makefile b/lang/php52/Makefile
index d34b2ef8d7a1..c5ed6752d336 100644
--- a/lang/php52/Makefile
+++ b/lang/php52/Makefile
@@ -216,7 +216,7 @@ post-install:
@${INSTALL_DATA} ${WRKDIR}/php-fpm.conf.sample ${PREFIX}/etc
@${MKDIR} `dirname ${PHP_FPM_PID}`
@${MKDIR} `dirname ${PHP_FPM_LOG}`
- @cd ${PREFIX}/etc && ${CP} -n php-fpm.conf.sample php-fpm.conf
+ @cd ${PREFIX}/etc && ${CP} -n php-fpm.conf.sample php-fpm.conf || ${TRUE}
.endif
.if defined(WITH_APACHE)
@${CAT} ${PKGMESSAGE}