diff options
author | tron <tron@pkgsrc.org> | 2007-04-01 16:22:53 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2007-04-01 16:22:53 +0000 |
commit | 1faaaf4bfc16a958e780fc8e2f0682270bf44d33 (patch) | |
tree | 74cfa01fecbe95bcaac6a825d64a58fc83a4d4d7 /www | |
parent | 1157ff47d5378b7223950cb723b6395202681169 (diff) | |
download | pkgsrc-1faaaf4bfc16a958e780fc8e2f0682270bf44d33.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.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" |