svn commit: r389230 - head/net-mgmt/pmacct

Ryan Steinmetz zi at FreeBSD.org
Thu Jun 11 16:34:15 UTC 2015


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
 


More information about the svn-ports-head mailing list