1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-07 22:58:11 +00:00
freebsd-ports/www/mod_auth_mysql/files/patch-ac
Neil Blakey-Milner 8936ab790f Add mod_auth_mysql, allowing apache to authenticate against a mysql
database.

PR:		ports/18730
Submitted by:	James Housley <jim@thehousleys.net>
2000-08-03 11:19:05 +00:00

31 lines
748 B
Plaintext

--- Makefile.in.orig Sat Oct 3 06:24:28 1998
+++ Makefile.in Fri May 19 23:52:29 2000
@@ -14,9 +14,27 @@
REGCFLAGS = $(CFLAGS)
APXS = @APXS@
APXS_LDFLAGS = @APXS_LDFLAGS@
+APXS_INCLUDE = @APXS_INCLUDE@
WARNING_LEVEL = @WARNING_LEVEL@
+# the default target
+all: build
+
+# build the shared object file for Apache
+build: mod_auth_mysql.so
+
+# compile the shared object file
+mod_auth_mysql.so: auth_mysql_config.h mod_auth_mysql.c
+ $(APXS) -c -o libauth_mysql.so ${APXS_LDFLAGS} ${APXS_INCLUDE} mod_auth_mysql.c
+
+auth_mysql_config.h:
+ cp config.h auth_mysql_config.h
+
+# install the shared object file into Apache
install:
$(INSTALL_IT)
@cat .install_notes
+# cleanup
+clean:
+ -rm -f mod_auth_mysql.o mod_auth_mysql.so