freebsd-ports/www/woadaptor/files/patch-FastCGI-Makefile
Edwin Groothuis e6b6e3491e [NEW PORTS] www/webobjects(+) Apple WebObjects ports bundle
This is a bundle of several ports covering many typical requirements
for building an Apple WebObjects deployment environment. Each port
is or has a dependancy with some other port in the bundle, and have
therefore been lodged collectively.

	www/woadaptor

	WOAdaptor is a collection of WebObjects WebServer Adaptors.
	These include an Apache Module, CGI and FastCGI adaptors

	This is a subproject of Project Wonder and is an effort to
	pool enhancements and bug fixes for Apple's open source
	codebase.

	WWW: http://wonder.sourceforge.net/WOAdaptor.html

PR:		ports/117299
Submitted by:	Quinton Dolan <q@onthenet.com.au>
2008-06-13 06:29:46 +00:00

21 lines
859 B
Text

--- FastCGI/Makefile.orig Tue Oct 22 20:23:39 2002
+++ FastCGI/Makefile Sun Apr 15 05:18:58 2007
@@ -3,7 +3,8 @@
include ../Adaptor/make.preamble
#CFLAGS = -O2 -Wall -I../Adaptor $(DEBUG_FLAG) -DSINGLE_THREADED_ADAPTOR -D$(OS) -DCGI
-CFLAGS = -O2 -Wall -I../Adaptor $(DEBUG_FLAG) -DSINGLE_THREADED_ADAPTOR -D$(OS) -DCGI
+CFLAGS += -O2 -Wall -I../Adaptor $(DEBUG_FLAG) -DSINGLE_THREADED_ADAPTOR -D$(OS) -DCGI
+LOCALBASE ?= /usr/local
ifeq "HPUX" "$(OS)"
#CFLAGS += -nopdolib
@@ -22,7 +23,7 @@
all: WebObjects${EXESUFFIX}
WebObjects${EXESUFFIX}: WebObjects.o ${COMMON_OBJFILES}
- ${CC} ${CFLAGS} ${LDFLAGS} -o WebObjects${EXESUFFIX} WebObjects.o ${COMMON_OBJFILES} /usr/local/lib/libfcgi.a
+ ${CC} ${CFLAGS} ${LDFLAGS} -o WebObjects${EXESUFFIX} WebObjects.o ${COMMON_OBJFILES} ${LOCALBASE}/lib/libfcgi.a
clean:
rm -f WebObjects${EXESUFFIX} *.o