summaryrefslogtreecommitdiff
path: root/databases/postgresql91-server
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 15:10:57 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-26 15:10:57 +0000
commit9dbc02d2c5d8b2c2c499e0e86015bc9505c69318 (patch)
treea82894e443e00d2d1e62c361da23f99b943f1351 /databases/postgresql91-server
parentUpgrade to version 4.00. (diff)
Convert USE_GETTEXT -> USES=gettext
While here: - Trim headers - Remove some useless pre.mk/post.mk - Convert to optionsng
Notes
Notes: svn path=/head/; revision=316620
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>