summaryrefslogtreecommitdiff
path: root/system/mdocml/patches/00-Makefile_Linux.diff
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-01-06 22:20:35 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:14:01 -0600
commit705b1cbae78d8f8e186a0db1ccf523b8ff971419 (patch)
tree8e432f2cb42628f73e70e6de11d5b92b6c246ebd /system/mdocml/patches/00-Makefile_Linux.diff
parent727b8dca560cc5848c444c45696530b2ea4e06c0 (diff)
downloadslackbuilds-705b1cbae78d8f8e186a0db1ccf523b8ff971419.tar.gz
system/mdocml: Added (UNIX manpage compiler).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mdocml/patches/00-Makefile_Linux.diff')
-rw-r--r--system/mdocml/patches/00-Makefile_Linux.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/system/mdocml/patches/00-Makefile_Linux.diff b/system/mdocml/patches/00-Makefile_Linux.diff
new file mode 100644
index 0000000000..4f411d6b80
--- /dev/null
+++ b/system/mdocml/patches/00-Makefile_Linux.diff
@@ -0,0 +1,20 @@
+--- Makefile.orig 2014-01-06 15:05:19.565762653 +0100
++++ Makefile 2014-01-06 15:05:28.701192221 +0100
+@@ -29,7 +29,7 @@ CFLAGS += -DUSE_WCHAR
+ # for example on Mac OS X.
+ STATIC = -static
+ # Linux requires -pthread to statically link with libdb.
+-#STATIC += -pthread
++STATIC += -pthread
+
+ CFLAGS += -g -DHAVE_CONFIG_H
+ CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
+@@ -54,7 +54,7 @@ INSTALL_MAN = $(INSTALL_DATA)
+ # However, if you don't have -ldb at all (or it's not native), then
+ # comment out apropos and mandocdb.
+ #
+-#DBLIB = -ldb
++DBLIB = -ldb
+ DBBIN = apropos mandocdb man.cgi catman whatis
+ DBLN = llib-lapropos.ln llib-lmandocdb.ln llib-lman.cgi.ln llib-lcatman.ln
+