summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/swi-prolog-lite/files/destdir.patch')
-rw-r--r--dev-lang/swi-prolog-lite/files/destdir.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-lang/swi-prolog-lite/files/destdir.patch b/dev-lang/swi-prolog-lite/files/destdir.patch
new file mode 100644
index 000000000000..45806c796e70
--- /dev/null
+++ b/dev-lang/swi-prolog-lite/files/destdir.patch
@@ -0,0 +1,21 @@
+--- src/Makefile.in 2002-11-01 19:27:25.000000000 -0500
++++ src/Makefile.in.old 2002-11-01 19:26:49.000000000 -0500
+@@ -37,7 +37,8 @@
+
+ PL=@PL@@RT@
+ PLV=@PL@@RT@-@PLVERSION@
++DESTDIR=
++prefix=$(DESTDIR)@prefix@
+-prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ srcdir=@srcdir@
+ @VPATH@ @srcdir@
+@@ -45,7 +46,7 @@
+ PLBASE=$(prefix)/lib/@PL@-$(PLVERSION)
+ # NOTE: Also defined in config.h!
+ BOOTFILE=@BOOTFILE@
++mandir=$(DESTDIR)@mandir@
+-mandir=@mandir@
+ mansec=1
+ lmansec=3
+ smandir=$(mandir)/man$(mansec)