diff options
author | hans <hans@pkgsrc.org> | 2011-11-29 15:30:27 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-11-29 15:30:27 +0000 |
commit | 96f0b91b1d61718037e43385d981b814ed510a6e (patch) | |
tree | 061c0cae9de038abcbe88603a8f9061b94f4ea47 /games/kdegames3/patches/patch-ksirtet_ksirtet_Makefile.in | |
parent | 59c642b4a731a782566e007a8a56fce1de9eb832 (diff) | |
download | pkgsrc-96f0b91b1d61718037e43385d981b814ed510a6e.tar.gz |
Don't use ((command)), use ( (command)) instead. Fixes some build breakage.
Diffstat (limited to 'games/kdegames3/patches/patch-ksirtet_ksirtet_Makefile.in')
-rw-r--r-- | games/kdegames3/patches/patch-ksirtet_ksirtet_Makefile.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games/kdegames3/patches/patch-ksirtet_ksirtet_Makefile.in b/games/kdegames3/patches/patch-ksirtet_ksirtet_Makefile.in new file mode 100644 index 00000000000..1bed7283d7a --- /dev/null +++ b/games/kdegames3/patches/patch-ksirtet_ksirtet_Makefile.in @@ -0,0 +1,36 @@ +--- ksirtet/ksirtet/Makefile.in.orig 2008-08-20 17:43:06.000000000 +0200 ++++ ksirtet/ksirtet/Makefile.in 2011-11-02 12:56:14.974702886 +0100 +@@ -820,28 +820,28 @@ install-data-local: + + install-exec-hook: + @(test x$(HIGHSCORE_DIRECTORY) != x \ +- && ((chown $(highscore_user):$(highscore_group) $(DESTBIN)) \ ++ && ( (chown $(highscore_user):$(highscore_group) $(DESTBIN)) \ + || echo "Error: Could not install the game with correct permissions !!" \ + )) || true + + @(test x$(HIGHSCORE_DIRECTORY) != x \ +- && ((mkdir -p $(DESTHIGHSCORES) && chown $(highscore_user):$(highscore_group) $(DESTHIGHSCORES) \ ++ && ( (mkdir -p $(DESTHIGHSCORES) && chown $(highscore_user):$(highscore_group) $(DESTHIGHSCORES) \ + && chmod 750 $(DESTHIGHSCORES)) \ + || echo "Error: Could not create the highscore directory with correct permissions !!" \ + )) || true + + @(test x$(HIGHSCORE_DIRECTORY) != x \ +- && ((chown $(highscore_user):$(highscore_group) $(DESTBIN)) \ ++ && ( (chown $(highscore_user):$(highscore_group) $(DESTBIN)) \ + || echo "Error: Could not install the game with correct permissions !!" \ + )) || true + + @(test ${setgid} = true \ +- && ((chmod 2755 $(DESTBIN)) \ ++ && ( (chmod 2755 $(DESTBIN)) \ + || echo "Error: Could not install the game with correct permissions !!" \ + )) || true + + @(test x$(HIGHSCORE_DIRECTORY) != x \ +- && ((touch $(DESTSCORES) && chown $(highscore_user):$(highscore_group) $(DESTSCORES) \ ++ && ( (touch $(DESTSCORES) && chown $(highscore_user):$(highscore_group) $(DESTSCORES) \ + && chmod 0660 $(DESTSCORES)) \ + || echo "Error: Could not create system-wide highscore file with correct permissions !!" \ + )) || true |