freebsd-ports/www/woadaptor/files/patch-Apache2.2-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

43 lines
1.2 KiB
Text

*** Apache2.2/Makefile.orig Tue Jul 4 13:02:19 2006
--- Apache2.2/Makefile Mon Apr 16 09:17:08 2007
***************
*** 82,87 ****
--- 82,100 ----
endif
# End HPUX config
+ ifeq "FreeBSD" "$(OS)"
+ ifdef USE_SSL
+ # Flags for use when enabling mod_ssl support (on by default)
+ ENABLE_SSL_SUPPORT = -DAPACHE_SECURITY_ENABLED
+ # These should be set to point at the ssl include and lib directories, respectively.
+ OPENSSL_INCL_FLAGS = -I/usr/include/openssl
+ OPENSSL_LIB_FLAGS = -L/usr/lib -lcrypto -lssl
+ endif
+
+ INCLUDES += ${OPENSSL_INCL_FLAGS}
+ LDFLAGS += ${OPENSSL_LIB_FLAGS} -lm -module
+ APXSFLAGS += "-I`${APXS} -q INCLUDEDIR`"
+ endif
***************
*** 138,143 ****
--- 151,166 ----
mod_WebObjects.o : mod_WebObjects.c ${COMMON_OBJFILES}
${CC} -c ${CFLAGS} mod_WebObjects.c ${COMMON_OBJFILES}
endif
+
+ # FreeBSD Build
+ ifeq "FreeBSD" "$(OS)"
+
+ mod_WebObjects.so : mod_WebObjects.c ${COMMON_SRCFILES}
+ ${APXS} ${APXSFLAGS} mod_WebObjects.c ${COMMON_SRCFILES}
+
+ endif
+ #end FreeBSD
+
# The install target does what you'd think it would: install the module; By default, this is not called.
install: mod_WebObjects.la