$NetBSD: patch-ac,v 1.3 2007/03/05 15:56:27 obache Exp $ --- cgi/Makefile.in.orig 2006-08-24 11:55:35.000000000 +0900 +++ cgi/Makefile.in @@ -22,19 +22,19 @@ MYDOCS = cgispex.html cgispex-ja.html # Building binaries CC = gcc -CPPFLAGS = -I$(srcdir) -I$(srcdir)/.. -I$(HOME)/include -I/usr/local/include \ +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 -O2 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 = LD_RUN_PATH=/lib:/usr/lib:$(prefix)/lib # Install destinations prefix = @prefix@ exec_prefix = @exec_prefix@ -MYLIBEXECDIR = @libexecdir@ -MYDATADIR = @datadir@/$(PACKAGE)/cgi +MYLIBEXECDIR = @libexecdir@/cgi-bin +MYDATADIR = @datadir@/doc/$(PACKAGE)/cgi DESTDIR =