summaryrefslogtreecommitdiff
path: root/lang/p2c
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
commit1852a32379d01d07f7cd13c5349e72488e696bfb (patch)
tree956fb7eda5692f7a154901a66d9a7ee296d32740 /lang/p2c
parent9193edf77aa9d19431194e03f10604e5041ed330 (diff)
downloadpkgsrc-1852a32379d01d07f7cd13c5349e72488e696bfb.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/p2c')
-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"