aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql91-server')
-rw-r--r--databases/postgresql91-server/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/postgresql91-server/Makefile b/databases/postgresql91-server/Makefile
index c565e632fab1..5030637f9f88 100644
--- a/databases/postgresql91-server/Makefile
+++ b/databases/postgresql91-server/Makefile
@@ -140,8 +140,6 @@ PLIST_SUB+= OSSP=""
PLIST_SUB+= OSSP="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if !defined(SLAVE_ONLY)
PATCH_DIST_STRIP=-p1
@@ -181,10 +179,10 @@ PLIST_SUB+= TZDATA="@comment "
CONFIGURE_ARGS+=--disable-integer-datetimes
. endif
-. if ( defined(WITH_GETTEXT) || ${PORT_OPTIONS:MNLS} )
+. if ${PORT_OPTIONS:MNLS}
CONFIGURE_ARGS+=--enable-nls
PLIST_SUB+= GETTEXT=""
-USE_GETTEXT= yes
+USES+= gettext
. else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= GETTEXT="@comment "
@@ -390,4 +388,4 @@ check:
fi
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>