diff options
author | tron <tron> | 2007-04-01 16:22:53 +0000 |
---|---|---|
committer | tron <tron> | 2007-04-01 16:22:53 +0000 |
commit | 2f915274f1c31187b66786abd32c1e9fb6f8a627 (patch) | |
tree | 74cfa01fecbe95bcaac6a825d64a58fc83a4d4d7 | |
parent | 7750a4ffc7684ea08a968c366872b7c666a56c62 (diff) | |
download | pkgsrc-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.common | 7 |
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" |