Fix issues identified by Mk/Scripts/qa.sh.

This commit is contained in:
cy
2016-08-07 03:26:49 +00:00
parent 5d0176f454
commit 10519e2c4e
+7 -4
View File
@@ -27,9 +27,9 @@ USE_RC_SUBR= cf-execd cf-serverd cf-monitord
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USES= autoreconf cpe gmake libtool shebangfix
USES= autoreconf cpe gmake libtool shebangfix ssl
USE_GNOME= libxml2
SHEBANG_FILES= examples/remake_outputs.pl
CFLAGS+= -Wno-return-type
CPPFLAGS+= -I${LOCALBASE}/include
@@ -48,12 +48,14 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR} \
INSTALL_TARGET= install-strip
LIB_DEPENDS+= libpcre.so:devel/pcre \
liblmdb.so:databases/lmdb
liblmdb.so:databases/lmdb \
libyaml.so:textproc/libyaml
OPTIONS_DEFINE= PGSQL MYSQL LIBVIRT
PGSQL_USES= pgsql
PGSQL_CONFIGURE_ON= --with-postgresql=${LOCALBASE}
PGSQL_CONFIGURE_OFF= --without-postgresql
MYSQL_USE= MYSQL=yes
MYSQL_CONFIGURE_ON= --with-mysql=${LOCALBASE}
@@ -61,6 +63,7 @@ MYSQL_LIB_DEPENDS= libmysqlclient.so:${_MYSQL_CLIENT}
MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql
LIBVIRT_CONFIGURE_ON= --with-libvirt=${LOCALBASE}
LIBVIRT_LIB_DEPENDS+= libvirt.so:devel/libvirt
LIBVIRT_CONFIGURE_OFF= --without-libvirt
LIBVIRT_LIB_DEPENDS= libvirt.so:devel/libvirt
.include <bsd.port.mk>