Improve the post-extract chmod so it doesn't choke on Solaris, where
a chmod -R that goes into work/.tools will fail for some Solaris reason.
This commit is contained in:
parent
b3603d5e80
commit
e3427f5aae
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2011/12/18 16:54:08 dholland Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2012/03/05 04:04:09 dholland Exp $
|
||||
|
||||
DISTNAME= p2c-1.20
|
||||
PKGREVISION= 1
|
||||
|
@ -23,6 +23,6 @@ post-extract:
|
|||
# The distfile contains a number of world-writable files, including
|
||||
# an entry for '.' that causes pkgsrc to become upset. Fix it.
|
||||
${CHMOD} 755 ${WRKDIR}
|
||||
${CHMOD} -R o-w ${WRKDIR}
|
||||
${CHMOD} -R o-w ${WRKDIR}/*
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue