summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-03-05 04:04:09 +0000
committerdholland <dholland@pkgsrc.org>2012-03-05 04:04:09 +0000
commitbb8b6e4e84b7a2d103b957d4b619bf0c9b7f36bf (patch)
tree956fb7eda5692f7a154901a66d9a7ee296d32740 /lang
parentfe11d8b8f5873905e0e9f3f044f5fd4b271ce90f (diff)
downloadpkgsrc-bb8b6e4e84b7a2d103b957d4b619bf0c9b7f36bf.tar.gz
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.
Diffstat (limited to 'lang')
-rw-r--r--lang/p2c/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/p2c/Makefile b/lang/p2c/Makefile
index 0323e18830a..40c892ca1a8 100644
--- a/lang/p2c/Makefile
+++ b/lang/p2c/Makefile
@@ -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"