afc3f0c3d1
* bug fixes
32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
$OpenBSD: patch-gnobots2_Makefile_in,v 1.3 2009/03/22 20:56:52 jasper Exp $
|
|
|
|
Install the .scores files into share/ , to @sample them
|
|
into /var/games/ later.
|
|
|
|
--- gnobots2/Makefile.in.orig Sun Mar 22 20:27:24 2009
|
|
+++ gnobots2/Makefile.in Sun Mar 22 21:43:15 2009
|
|
@@ -329,7 +329,7 @@ psdir = @psdir@
|
|
pyexecdir = @pyexecdir@
|
|
pythondir = @pythondir@
|
|
sbindir = @sbindir@
|
|
-scoredir = @scoredir@
|
|
+scoredir = ${pkgdatadir}/scores/
|
|
scores_group = @scores_group@
|
|
scores_user = @scores_user@
|
|
setgid = @setgid@
|
|
@@ -884,11 +884,10 @@ install-data-local:
|
|
fname1=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2.scores; \
|
|
fname2=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-safe.scores; \
|
|
fname3=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-super-safe.scores; \
|
|
- touch $$fname1; chmod 664 $$fname1; chown $(scores_user):$(scores_group) $$fname1; \
|
|
- touch $$fname2; chmod 664 $$fname2; chown $(scores_user):$(scores_group) $$fname2; \
|
|
- touch $$fname3; chmod 664 $$fname3; chown $(scores_user):$(scores_group) $$fname3; \
|
|
+ touch $$fname1; \
|
|
+ touch $$fname2; \
|
|
+ touch $$fname3; \
|
|
done
|
|
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnobots2 && chmod 2555 $(DESTDIR)$(bindir)/gnobots2 ; fi
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|