diff options
author | itojun <itojun@pkgsrc.org> | 2000-08-01 12:02:40 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2000-08-01 12:02:40 +0000 |
commit | 32c9bb74cd549f71780347a7c121d57d9add03ae (patch) | |
tree | b5d22fc59d7916f3bcef34a87c0089e81052bf90 /mail/sendmail | |
parent | f87ba023e8a9cab42f924bbcb0caf7240428513f (diff) | |
download | pkgsrc-32c9bb74cd549f71780347a7c121d57d9add03ae.tar.gz |
chmod +w to files we append something.
PR10728. From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
not sure if this PR is a generic problem - it seems to me that Wolfgang
may checked things out from pkgsrc tree with non-writable permission.
Diffstat (limited to 'mail/sendmail')
-rw-r--r-- | mail/sendmail/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile index efa6abf9dcf..a4fc44c3553 100644 --- a/mail/sendmail/Makefile +++ b/mail/sendmail/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2000/07/30 17:49:00 itojun Exp $ +# $NetBSD: Makefile,v 1.20 2000/08/01 12:02:40 itojun Exp $ DISTNAME= sendmail.8.11.0 PKGNAME= sendmail-8.11.0 @@ -25,6 +25,7 @@ MAKE_ENV+= BSD_BINOWN="${BINOWN}" BSD_BINGRP="${BINGRP}" \ MESSAGE_FILE= ${WRKDIR}/MESSAGE WRKSRC= ${WRKDIR}/${PKGNAME} +SITECONFIG= ${WRKSRC}/devtools/Site/site.config.m4 BUILD_DEFS+= USE_INET6 @@ -46,22 +47,19 @@ DEPENDS+= db-2.7.7:../../databases/db .endif post-patch: - ${CP} ${FILESDIR}/site.config.m4 ${WRKSRC}/devtools/Site/site.config.m4 + ${CP} ${FILESDIR}/site.config.m4 ${SITECONFIG} + ${CHMOD} +w ${SITECONFIG} .if defined(USE_INET6) && ${USE_INET6} == YES - ${CAT} ${FILESDIR}/site.config.m4-v6 \ - >> ${WRKSRC}/devtools/Site/site.config.m4 + ${CAT} ${FILESDIR}/site.config.m4-v6 >> ${SITECONFIG} .endif .if ${OPSYS} == "NetBSD" - ${CAT} ${FILESDIR}/site.config.m4-tcpwrappers \ - >> ${WRKSRC}/devtools/Site/site.config.m4 + ${CAT} ${FILESDIR}/site.config.m4-tcpwrappers >> ${SITECONFIG} .endif .if defined(USE_LDAP) && ${USE_LDAP} == YES - ${CAT} ${FILESDIR}/site.config.m4-ldap \ - >> ${WRKSRC}/devtools/Site/site.config.m4 + ${CAT} ${FILESDIR}/site.config.m4-ldap >> ${SITECONFIG} .endif .if ${USE_DB2} == YES - ${CAT} ${FILESDIR}/site.config.m4-db2 \ - >> ${WRKSRC}/devtools/Site/site.config.m4 + ${CAT} ${FILESDIR}/site.config.m4-db2 >> ${SITECONFIG} .endif do-build: |