summaryrefslogtreecommitdiff
path: root/www/mod_accounting/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_accounting/files/patch-Makefile')
-rw-r--r--www/mod_accounting/files/patch-Makefile23
1 files changed, 13 insertions, 10 deletions
diff --git a/www/mod_accounting/files/patch-Makefile b/www/mod_accounting/files/patch-Makefile
index 7a341994cd56..2485eb44a13e 100644
--- a/www/mod_accounting/files/patch-Makefile
+++ b/www/mod_accounting/files/patch-Makefile
@@ -1,17 +1,16 @@
---- Makefile.orig Sun Dec 30 14:11:43 2001
-+++ Makefile Tue Nov 19 21:07:22 2002
-@@ -5,13 +5,24 @@
+--- Makefile.back Wed Jul 30 09:41:20 2003
++++ Makefile Wed Jul 30 09:40:23 2003
+@@ -5,13 +5,27 @@
##
# the used tools
-APXS=apxs
-+#APXS=apxs
- APACHECTL=apachectl
+-APACHECTL=apachectl
--# here's what you may need to change
--DEF=-DNEED_POSTGRES -DNEED_MYSQL
--INC=-I/usr/local/pgsql/include/ -I/usr/local/mysql/include/
--LIB=-L/usr/local/pgsql/lib -lpq -L/usr/local/mysql/lib/mysql/ -lmysqlclient
+ # here's what you may need to change
+-DEF=-DNEED_POSTGRES -DNEED_MYSQL -DNEED_PLAINTEXT
+-INC=-I/usr/local/pgsql/include/ -I/usr/local/mysql/include/ -I/opt/postgresql/include -I/opt/mysql/include
+-LIB=-L/opt/postgresql/lib -L/usr/local/pgsql/lib -lpq -L/opt/mysql/lib/mysql/ -L/usr/local/mysql/lib/mysql/ -lmysqlclient
+.if !defined(WITHOUT_PGSQL)
+DEF_PGSQL= -DNEED_POSTGRES
+INC_PGSQL= -I${LOCALBASE}/include
@@ -24,7 +23,11 @@
+LIB_MYSQL= -L${LOCALBASE}/lib/mysql -lmysqlclient
+.endif
+
-+DEF=${DEF_MYSQL} ${DEF_PGSQL}
++.if !defined(WITHOUT_PLAINTEXT)
++DEF_PLAINTEXT=-DNEED_PLAINTEXT
++.endif
++
++DEF=${DEF_MYSQL} ${DEF_PGSQL} ${DEF_PLAINTEXT}
+INC=${INC_MYSQL} ${INC_PGSQL}
+LIB=${LIB_MYSQL} ${LIB_PGSQL}