cec9995212
2007-12-22 Mikio Hirabayashi <mikio@fallabs.com> - Converters from Depot/Curia/Villa to TCHDB/TCBDB were added. - Release: 1.8.78
35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
$NetBSD: patch-ac,v 1.4 2014/05/31 07:28:57 obache Exp $
|
|
|
|
* prevent to overwrite settings with unwanted variables
|
|
* adapt to pkgsrc layout
|
|
|
|
--- cgi/Makefile.in.orig 2006-08-24 02:55:35.000000000 +0000
|
|
+++ cgi/Makefile.in
|
|
@@ -21,20 +21,20 @@ MYCONFS = qadm.conf qupl.conf qfts.conf
|
|
MYDOCS = cgispex.html cgispex-ja.html
|
|
|
|
# Building binaries
|
|
-CC = gcc
|
|
-CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. -I$(HOME)/include -I/usr/local/include \
|
|
+CC = @CC@
|
|
+CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. \
|
|
-D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 -D_HPUX_SOURCE=1 \
|
|
-D_POSIX_MAPPED_FILES=1 -D_POSIX_SYNCHRONIZED_IO=1 -DNDEBUG
|
|
-CFLAGS = -Wall -ansi -pedantic -fsigned-char -O2
|
|
+CFLAGS += ${PTHREAD_CFLAGS} -Wall -ansi -pedantic -fsigned-char
|
|
LIBS = -lqdbm @LIBS@
|
|
-LDFLAGS = -L$(srcdir)/.. -L$(HOME)/lib -L/usr/local/lib $(LIBS)
|
|
-LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:$(prefix)/lib
|
|
+LDFLAGS = @LDFLAGS@ -L$(srcdir)/.. $(LIBS)
|
|
+LDENV =
|
|
|
|
# Install destinations
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
-MYLIBEXECDIR = @libexecdir@
|
|
-MYDATADIR = @datadir@/$(PACKAGE)/cgi
|
|
+MYLIBEXECDIR = @libexecdir@/cgi-bin
|
|
+MYDATADIR = @datadir@/doc/$(PACKAGE)/cgi
|
|
DESTDIR =
|
|
|
|
|