summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron>2007-04-01 16:22:53 +0000
committertron <tron>2007-04-01 16:22:53 +0000
commit71f7776e4eb35fc80e7eb8797366496089408754 (patch)
tree74cfa01fecbe95bcaac6a825d64a58fc83a4d4d7 /www
parent3a690540e460bb1949c8f0a68191524b7550869f (diff)
downloadpkgsrc-71f7776e4eb35fc80e7eb8797366496089408754.tar.gz
Only define the "post-install" target if it isn't already defined. This
stops warnings about a redefined target in the "thunderbird" package.
Diffstat (limited to 'www')
-rw-r--r--www/seamonkey/Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/seamonkey/Makefile.common b/www/seamonkey/Makefile.common
index 664c026802c..d3b368a0db3 100644
--- a/www/seamonkey/Makefile.common
+++ b/www/seamonkey/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2007/03/31 22:51:24 ghen Exp $
+# $NetBSD: Makefile.common,v 1.22 2007/04/01 16:22:53 tron Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= seamonkey-${MOZ_DIST_VER}.source
@@ -204,8 +204,11 @@ pre-install:
do-install:
${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR:Q}/moz-install
+.if !target(do-install)
post-install:
- ${FIND} ${PREFIX}/lib/${MOZILLA}/defaults -type f -exec ${CHMOD} u+w {} \;
+ ${FIND} ${PREFIX}/lib/${MOZILLA}/defaults -type f -print | \
+ ${XARGS} ${CHMOD} u+w
+.endif
.include "../../mk/pthread.buildlink3.mk"