aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql72
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql72')
-rw-r--r--databases/postgresql72/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/postgresql72/Makefile b/databases/postgresql72/Makefile
index 057d35dc1374..78ca102b5a18 100644
--- a/databases/postgresql72/Makefile
+++ b/databases/postgresql72/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= postgresql
PORTVERSION?= 7.2.4
+PORTREVISION= 1
CATEGORIES?= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= source/v${PORTVERSION}
@@ -36,9 +37,7 @@ CONFIGURE_ARGS= --enable-locale --enable-syslog --with-CXX \
--with-includes=${LOCALBASE}/include
.if !defined(WITHOUT_GNUGETOPT)
-LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
+USE_GETOPT_LONG=yes
.endif
# if you want localized messages, make -DWITH_GETTEXT