summaryrefslogtreecommitdiff
path: root/development/4th/02-directories.patch
diff options
context:
space:
mode:
authorZbigniew Baniewski <zb@ispid.com.pl>2011-10-15 07:59:36 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-10-22 10:17:07 -0200
commita2837c5a192bf9692ff02e2124baaad8f6f76566 (patch)
tree686d582ec555cb46902fee26441fd2b9b5cfdb49 /development/4th/02-directories.patch
parent183ee1043c5b6104b03e72644775019f27aba3b4 (diff)
downloadslackbuilds-a2837c5a192bf9692ff02e2124baaad8f6f76566.tar.gz
development/4th: Added (The friendly Forth compiler/interpreter)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/4th/02-directories.patch')
-rw-r--r--development/4th/02-directories.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/development/4th/02-directories.patch b/development/4th/02-directories.patch
new file mode 100644
index 0000000000..a16070aff1
--- /dev/null
+++ b/development/4th/02-directories.patch
@@ -0,0 +1,32 @@
+diff -Nur 4th-3.61.2-unix/sources/Makefile 4th-3.61.2-unix.new/sources/Makefile
+--- 4th-3.61.2-unix/sources/Makefile 2011-08-18 20:34:47.000000000 +0000
++++ 4th-3.61.2-unix.new/sources/Makefile 2011-08-20 01:10:29.653081410 +0000
+@@ -16,13 +16,13 @@
+
+ # The following variables may need to be changed
+
+-LIBRARIES=/usr/lib
+-INCLUDES=/usr/include
+-BINARIES=/usr/local/bin
+-MANDIR=/usr/share/man
+-DOCDIR=/usr/share/doc
++LIBRARIES=$(DESTDIR)/usr/lib$(LIBSUFFIX)
++INCLUDES=$(DESTDIR)/usr/include
++BINARIES=$(DESTDIR)/usr/bin
++MANDIR=$(DESTDIR)/usr/man
++DOCDIR=$(DESTDIR)/usr/doc
+ SOURCES=../4th
+-CFLAGS= -DUNIX -fsigned-char -Wall -O3 -s
++CFLAGS=$(CXXFLAGS) -DUNIX -fsigned-char -Wall -s
+
+ # Cross compilation variables
+ LD=$(CROSS)ld
+@@ -125,7 +125,7 @@
+
+ install: mostlyinstall
+ install -Dm644 ../documentation/4th.1 $(MANDIR)/man1/4th.1
+- install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th/
++ install -Dm644 ../documentation/4tHmanual.txt $(DOCDIR)/4th-3.61.2/
+
+ uninstall:
+ -rm -f $(LIBRARIES)/lib4th.{a,so*}