summaryrefslogtreecommitdiff
path: root/development/4th/01-directories.patch
diff options
context:
space:
mode:
authorZbigniew Baniewski <Zbigniew.Baniewski@gmail.com>2013-02-11 14:44:56 -0600
committerErik Hanson <erik@slackbuilds.org>2013-02-14 00:26:56 -0600
commitc14df07dd2ea428d957c2cc495d377c36669df5a (patch)
treee71ca88d1772673b6b3016148e508a011d79c745 /development/4th/01-directories.patch
parenta31908b35e86ce7d338f5e0b76004b78d86b0687 (diff)
downloadslackbuilds-c14df07dd2ea428d957c2cc495d377c36669df5a.tar.gz
development/4th: Updated for version 3.62.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/4th/01-directories.patch')
-rw-r--r--development/4th/01-directories.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/development/4th/01-directories.patch b/development/4th/01-directories.patch
new file mode 100644
index 0000000000..19e2c98354
--- /dev/null
+++ b/development/4th/01-directories.patch
@@ -0,0 +1,32 @@
+diff -Nur 4th-3.62.0-unix/sources/Makefile 4th-3.62.0-unix.new/sources/Makefile
+--- 4th-3.62.0-unix/sources/Makefile 2012-12-22 12:26:35.000000000 +0000
++++ 4th-3.62.0-unix.new/sources/Makefile 2013-02-11 15:30:00.531948113 +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
+@@ -128,7 +128,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.62.0/
+
+ uninstall:
+ -rm -f $(LIBRARIES)/lib4th.{a,so*}