summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-10-04 22:54:58 +0000
committerrillig <rillig@pkgsrc.org>2007-10-04 22:54:58 +0000
commit2eb6f8052bc09fb36b9274c51dde8bb50fbecc10 (patch)
tree9a6353e5884365c342a14cde463dfa827b8c1396
parenta16e5639be43e55f6cdf7c46a1058b46946569b2 (diff)
downloadpkgsrc-2eb6f8052bc09fb36b9274c51dde8bb50fbecc10.tar.gz
The installed directories must be readable for the user who installs the
package. Otherwise it is not possible to install this package as unprivileged user.
-rw-r--r--games/angband-x11/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/angband-x11/Makefile b/games/angband-x11/Makefile
index 15e25bb5069..b69269b82b1 100644
--- a/games/angband-x11/Makefile
+++ b/games/angband-x11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2007/02/02 01:04:00 joerg Exp $
+# $NetBSD: Makefile,v 1.41 2007/10/04 22:54:58 rillig Exp $
#
DISTNAME= angband-3.0.3
@@ -28,6 +28,12 @@ CONFIGURE_ARGS+= --with-setgid=games
GCC_REQD+= 2.95.3
.endif
+SUBST_CLASSES+= 070
+SUBST_STAGE.070= pre-configure
+SUBST_MESSAGE.070= Fixing file permissions.
+SUBST_FILES.070= lib/save/Makefile.in lib/bone/Makefile.in
+SUBST_SED.070= -e 's,070,770,g'
+
# add spoiler files and clean up a bit
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/games/angband/lib/info