Date: Thu, 11 Jun 2015 16:34:15 +0000 (UTC) From: Ryan Steinmetz <zi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389230 - head/net-mgmt/pmacct Message-ID: <201506111634.t5BGYFgu062968@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zi Date: Thu Jun 11 16:34:14 2015 New Revision: 389230 URL: https://svnweb.freebsd.org/changeset/ports/389230 Log: - Cleanup previous commit and fix dependency issues Modified: head/net-mgmt/pmacct/Makefile Modified: head/net-mgmt/pmacct/Makefile ============================================================================== --- head/net-mgmt/pmacct/Makefile Thu Jun 11 15:56:32 2015 (r389229) +++ head/net-mgmt/pmacct/Makefile Thu Jun 11 16:34:14 2015 (r389230) @@ -29,11 +29,7 @@ MMAP_DESC= Enable mmap(2) support LAYER2_DESC= Enable Layer-2 support: MAC addresses and VLANs SHARED_DESC= Enable shared objects -.include <bsd.port.pre.mk> - -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -CONFIGURE_ARGS+=--enable-64bit -.endif +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMYSQL} USE_MYSQL= yes @@ -46,7 +42,7 @@ PLIST_SUB+= WITH_MYSQL="@comment " .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql -LIB_DEPENDS+= lbpq.so.5:${PORTSDIR}/databases/postgresql-libpqxx +WANT_PGSQL= lib CONFIGURE_ARGS+=--enable-pgsql PLIST_SUB+= WITH_PGSQL="" .else @@ -108,6 +104,12 @@ CONFIGURE_ARGS+=--enable-geoip \ --with-geoip-includes=${LOCALBASE}/include .endif +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" +CONFIGURE_ARGS+=--enable-64bit +.endif + post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506111634.t5BGYFgu062968>