Ticket #45484: patch-Makefile.diff
File patch-Makefile.diff, 1.3 KB (added by jpo@…, 10 years ago) |
---|
-
Makefile
old new 36 36 37 37 CFLAGS += -g -DHAVE_CONFIG_H 38 38 CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings 39 PREFIX = /usr/local39 PREFIX = @PREFIX@ 40 40 BINDIR = $(PREFIX)/bin 41 41 INCLUDEDIR = $(PREFIX)/include/mandoc 42 42 LIBDIR = $(PREFIX)/lib/mandoc 43 MANDIR = $(PREFIX)/ man43 MANDIR = $(PREFIX)/share/man 44 44 EXAMPLEDIR = $(PREFIX)/share/examples/mandoc 45 45 46 46 INSTALL = install … … 67 67 # system that's not OpenBSD or NetBSD. If uncommented, apropos(1) 68 68 # and makewhatis(8) will use manpath(1) to get the MANPATH variable. 69 69 # 70 #CFLAGS += -DUSE_MANPATH70 CFLAGS += -DUSE_MANPATH 71 71 72 72 # On some systems, SQLite3 may be installed below /usr/local. 73 73 # In that case, uncomment the following two lines. 74 74 # 75 #CFLAGS += -I/usr/local/include76 #DBLIB += -L/usr/local/lib75 CFLAGS += -I$(PREFIX)/include 76 DBLIB += -L$(PREFIX)/lib 77 77 78 78 # OpenBSD has the ohash functions in libutil. 79 79 # Comment the following line if your system doesn't. 80 80 # 81 DBLIB += -lutil81 #DBLIB += -lutil 82 82 83 83 SBINDIR = $(PREFIX)/sbin 84 84 … … 97 97 # If your system does not support static binaries, comment this, 98 98 # for example on Mac OS X. 99 99 # 100 STATIC = -static100 #STATIC = -static 101 101 102 102 # Linux requires -pthread for statical linking. 103 103 #