diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-06-22 17:00:49 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-06-22 17:00:49 +0000 |
commit | b40717ce07f23182ffc20b58a79d3a901f9ae6ec (patch) | |
tree | 20f08374e7a75c9aab30edeeb5683cdd07f29cd3 /www/mod_log_mysql/Makefile | |
parent | 1c7b089a419fdbe49d25513d7a3982dc4b6b1a76 (diff) | |
download | FreeBSD-ports-b40717ce07f23182ffc20b58a79d3a901f9ae6ec.zip FreeBSD-ports-b40717ce07f23182ffc20b58a79d3a901f9ae6ec.tar.gz |
upgrade to 1.16
PR: 39122
Submitted by: maintainer
Diffstat (limited to 'www/mod_log_mysql/Makefile')
-rw-r--r-- | www/mod_log_mysql/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/www/mod_log_mysql/Makefile b/www/mod_log_mysql/Makefile index 8c6c189..228e043 100644 --- a/www/mod_log_mysql/Makefile +++ b/www/mod_log_mysql/Makefile @@ -5,9 +5,10 @@ # $FreeBSD$ PORTNAME= mod_log_mysql -PORTVERSION= 1.14 +PORTVERSION= 1.16 CATEGORIES= www databases -MASTER_SITES= http://www.grubbybaby.com/mod_log_mysql/ +MASTER_SITES= http://www.grubbybaby.com/mod_log_sql/ +DISTFILES= mod_log_sql-${PORTVERSION} MAINTAINER= lev@serebryakov.spb.ru @@ -26,17 +27,17 @@ HAVE_MOD_SSL= MOD_SSL_HEADER= ${LOCALBASE}/include/apache/mod_ssl.h .if exists(${MOD_SSL_HEADER}) -HAVE_MOD_SSL= -DWANT_SSL_LOGGING do-configure: @${ECHO_MSG} "Make with mod_ssl support" .else do-configure: @${ECHO_MSG} "Make without mod_ssl support" + @${PERL} -pi -e 's/#define WANT_SSL_LOGGING/#undef WANT_SSL_LOGGING/' ${WRKSRC}/mod_log_mysql.c .endif do-build: @cd ${WRKSRC} && ${APXS} -c -o ${PORTNAME}.so -I${LOCALBASE}/include \ - -L${LOCALBASE}/lib/mysql -lmysqlclient -DMYSQLSOCKET=\\\"/tmp/mysql.sock\\\" ${HAVE_MOD_SSL} ${PORTNAME}.c + -L${LOCALBASE}/lib/mysql -lmysqlclient ${PORTNAME}.c do-install: cd ${WRKSRC} && ${APXS} -i -n${PORTNAME:S/^mod_//} -A ${PORTNAME}.so |