From 8fe309224049b8f23eedb90deaefac92aae51175 Mon Sep 17 00:00:00 2001 From: pav Date: Sun, 18 Apr 2004 18:15:33 +0000 Subject: - Fix build with PostgreSQL (optional, default off) PR: ports/65644 Submitted by: Krzysztof Stryjek --- net-mgmt/netsaint/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/netsaint/Makefile b/net-mgmt/netsaint/Makefile index 3b967949df2c..9328db12de78 100644 --- a/net-mgmt/netsaint/Makefile +++ b/net-mgmt/netsaint/Makefile @@ -23,6 +23,7 @@ RUN_DEPENDS= ${LOCALBASE}/libexec/netsaint/check_netsaint:${PORTSDIR}/net-mgmt/n USE_PERL5= yes USE_GETOPT_LONG= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-command-user=netsaint \ --with-command-grp=www \ @@ -47,14 +48,19 @@ CONFIGURE_ARGS+=--with-mysql-lib=${LOCALBASE}/lib/mysql \ .if defined(WITH_POSTGRES) POSTGRESQL_PORT?= databases/postgresql7 LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} -CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/pgsql \ - --with-pgsql-inc=${LOCALBASE}/pgsql \ +CONFIGURE_ARGS+=--with-pgsql-lib=${LOCALBASE}/lib \ + --with-pgsql-inc=${LOCALBASE}/include \ --with-pgsql-xdata .endif pre-fetch: @${SH} ${SCRIPTDIR}/checkps +post-patch: +.if defined(WITH_POSTGRES) + @${REINPLACE_CMD} -e 's,pgsql/,,' ${WRKSRC}/xdata/x[cers]ddb.c +.endif + pre-install: @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL -- cgit s.form.submit();'> FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats