summaryrefslogtreecommitdiff
path: root/games/yadex/files/patch-GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/yadex/files/patch-GNUmakefile')
-rw-r--r--games/yadex/files/patch-GNUmakefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/yadex/files/patch-GNUmakefile b/games/yadex/files/patch-GNUmakefile
new file mode 100644
index 000000000000..62b74ed8b847
--- /dev/null
+++ b/games/yadex/files/patch-GNUmakefile
@@ -0,0 +1,23 @@
+--- GNUmakefile.orig Tue Dec 12 16:49:00 2000
++++ GNUmakefile Sun Jun 17 22:43:27 2001
+@@ -22,7 +22,10 @@
+
+ # Where you want "make install" to put things.
+ # Typical values : "/usr", "/usr/local" and "/opt".
+-PREFIX = /usr/local
++PREFIX?= /usr/local
++
++# Make a PREFIX def available to the source
++DEFINES += -DPREFIX=\"$(PREFIX)\"
+
+ # Which OS ?
+ OS := $(shell uname -s | tr A-Z a-z)
+@@ -352,7 +355,7 @@
+ else
+ INST_CFGDIR = $(PREFIX)/etc/yadex/$(VERSION)
+ endif
+-INST_YGDDIR = $(PREFIX)/share/games/yadex/$(VERSION)
++INST_YGDDIR = $(PREFIX)/share/yadex/$(VERSION)
+ ifdef FHS_MAN
+ INST_MANDIR = $(PREFIX)/share/man/man6
+ else