mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
- Fix plist for WITH_DBI case
Approved by: portmgr blanket MFH: 2014Q3
This commit is contained in:
parent
6f463327e8
commit
3af643c60e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365378
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user