From 9cb7c78f72bf6627e5155d71bd8adb73fe519fbb Mon Sep 17 00:00:00 2001 From: dirk Date: Fri, 8 Jan 1999 17:22:06 +0000 Subject: Don't link ${PREFIX}/share/doc/apache/* to ${PREFIX}/www/data/ if the file or symlink exists already. Reported by: Peter Hawkins (a long time ago...) PR: ports/9347 Submitted by: Sheldon Hearn --- www/mod_php3/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/mod_php3') diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index 687cdb5b49a1..a759f484702a 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -3,7 +3,7 @@ # Date created: So 21 Jun 1998 16:09:39 CEST # Whom: Stefan Herrmann # -# $Id: Makefile,v 1.62 1998/12/26 00:08:09 dirk Exp $ +# $Id: Makefile,v 1.63 1999/01/03 12:26:47 dirk Exp $ # DISTNAME= apache_${VERSION_APACHE} @@ -113,7 +113,9 @@ post-install: find ${APACHEDOCDIR} -type d -exec chmod a+rx {} \; ; \ find ${APACHEDOCDIR} -type f -exec chmod a+r {} \; .for i in apache_pb.gif index.html manual - ${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i + if [ ! -e ${PREFIX}/www/data/$i ] ; then \ + ${LN} -s ${PREFIX}/share/doc/apache/$i ${PREFIX}/www/data/$i; \ + fi .endfor .for i in CODING_STANDARDS EXTENSION_STATUS LICENSE ${INSTALL_DATA} ${WRKDIR}/php-${VERSION_PHP3}/$i ${PHP3DOCDIR} -- cgit