summaryrefslogtreecommitdiff
path: root/databases/postgresql92-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql92-server/Makefile')
-rw-r--r--databases/postgresql92-server/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index e272ac2e0fb4..30a50db4c046 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -139,8 +139,6 @@ PLIST_SUB+= OSSP=""
PLIST_SUB+= OSSP="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if !defined(SLAVE_ONLY)
PATCH_DIST_STRIP=-p1
@@ -180,10 +178,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 "
@@ -392,4 +390,4 @@ check:
fi
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>