summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2007-04-01 16:22:53 +0000
committertron <tron>2007-04-01 16:22:53 +0000
commit2f915274f1c31187b66786abd32c1e9fb6f8a627 (patch)
tree74cfa01fecbe95bcaac6a825d64a58fc83a4d4d7
parent7750a4ffc7684ea08a968c366872b7c666a56c62 (diff)
downloadpkgsrc-2f915274f1c31187b66786abd32c1e9fb6f8a627.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.
-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"