-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
void.patch
29 lines (26 loc) · 1.08 KB
/
void.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- Makefile.orig 2012-11-23 17:07:53.741714557 +0100
+++ Makefile 2012-11-23 17:08:53.593252859 +0100
@@ -10,7 +10,7 @@
# Specify this if you want to hard-code the operating system to appear
# in the lower-left hand corner of -mdoc manuals.
#
-# CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
+CFLAGS += -DOSNAME="\"Void Linux\""
VERSION = 1.12.1
VDATE = 23 March 2012
@@ -32,7 +32,7 @@ CFLAGS += -DUSE_WCHAR
# If your system supports static binaries only, uncomment this. This
# appears only to be BSD UNIX systems (Mac OS X has no support and Linux
# requires -pthreads for static libdb).
-STATIC = -static
+#STATIC = -static
CFLAGS += -g -DHAVE_CONFIG_H -DVERSION="\"$(VERSION)\""
CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings
@@ -57,7 +57,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