summaryrefslogtreecommitdiff
path: root/www/mod_accounting/files/patch-Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-07-30 10:29:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-07-30 10:29:50 +0000
commit8afbbb3e461464890f72384efdb86daff9ff89ad (patch)
tree2e360a29090625b8b0ac0f78aaa1ac98ef25efd5 /www/mod_accounting/files/patch-Makefile
parenttelnet is moved to src/contrib/telnet, so update the port correspondingly. (diff)
- update to cvs version
- fix typo PR: 55042 Submitted by: maintainer Approved by: fjoe (mentor) (implicit)
Notes
Notes: svn path=/head/; revision=85908
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}