diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-08-19 21:43:49 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-08-19 21:43:49 +0800 |
commit | 7a0ec94494f2b2788a8408a7d97bb8b8347f689e (patch) | |
tree | 90cecdb7f50895092c6c091297f65c5306a22e88 /www/mod_log_sql2 | |
parent | 56b6772e539baeac5083a42741925682961fee8e (diff) | |
download | freebsd-ports-gnome-7a0ec94494f2b2788a8408a7d97bb8b8347f689e.tar.gz freebsd-ports-gnome-7a0ec94494f2b2788a8408a7d97bb8b8347f689e.tar.zst freebsd-ports-gnome-7a0ec94494f2b2788a8408a7d97bb8b8347f689e.zip |
- Fix plist for WITH_DBI case
Approved by: portmgr blanket
MFH: 2014Q3
Diffstat (limited to 'www/mod_log_sql2')
-rw-r--r-- | www/mod_log_sql2/Makefile | 3 | ||||
-rw-r--r-- | www/mod_log_sql2/pkg-plist | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/www/mod_log_sql2/Makefile b/www/mod_log_sql2/Makefile index b9dc5f34ac95..5ecc3462431e 100644 --- a/www/mod_log_sql2/Makefile +++ b/www/mod_log_sql2/Makefile @@ -28,6 +28,9 @@ LIBS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql .if defined(WITH_DBI) || exists(${LOCALBASE}/include/dbi/dbi.h) CONFIGURE_ARGS+= --with-dbi=${LOCALBASE} LIB_DEPENDS+= libdbi.so:${PORTSDIR}/databases/libdbi +PLIST_SUB+= DBI="" +.else +PLIST_SUB+= DBI="@comment " .endif .if defined(WITHOUT_SSL) diff --git a/www/mod_log_sql2/pkg-plist b/www/mod_log_sql2/pkg-plist index 76857aafb78a..14eec8d4b923 100644 --- a/www/mod_log_sql2/pkg-plist +++ b/www/mod_log_sql2/pkg-plist @@ -1,6 +1,7 @@ %%APACHEMODDIR%%/%%AP_MODULE%% @exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F @unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F +%%DBI%%%%APACHEMODDIR%%/mod_log_sql_dbi.so %%APACHEMODDIR%%/mod_log_sql_mysql.so %%APACHE2X%%%%APACHEMODDIR%%/mod_log_sql_logio.so %%SSL%%%%APACHEMODDIR%%/mod_log_sql_ssl.so |