aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2009-09-07 14:36:04 +0800
committermm <mm@FreeBSD.org>2009-09-07 14:36:04 +0800
commitce5b1b7dc94dae0ed82b7d853fb91877926cd45a (patch)
tree262e7710c1b9f30bdb8ff12644c80884bd0e592e /devel
parent7704c843b82c9bb030e98c0a1764f890c385193f (diff)
downloadfreebsd-ports-graphics-ce5b1b7dc94dae0ed82b7d853fb91877926cd45a.tar.gz
freebsd-ports-graphics-ce5b1b7dc94dae0ed82b7d853fb91877926cd45a.tar.zst
freebsd-ports-graphics-ce5b1b7dc94dae0ed82b7d853fb91877926cd45a.zip
- Make NLS optional and disable by default
- This port should have no RUN_DEPENDS by default - Bump PORTREVISION
Diffstat (limited to 'devel')
-rw-r--r--devel/binutils/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile
index 072b1a475fe..55192d5d09e 100644
--- a/devel/binutils/Makefile
+++ b/devel/binutils/Makefile
@@ -7,7 +7,7 @@
PORTNAME= binutils
PORTVERSION= 2.19.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR= binutils/releases
@@ -22,6 +22,8 @@ GNU_CONFIGURE= yes
BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:${PORTSDIR}/math/libgmp4 \
${LOCALBASE}/lib/libmpfr.so:${PORTSDIR}/math/mpfr
+OPTIONS= NLS "Enable National Language Support" off
+
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --with-system-zlib \
@@ -55,7 +57,9 @@ INFO= as \
configure \
ld
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
@@ -63,8 +67,6 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} < 700000
PLIST_SUB+= POST7="@comment " PRE7=""
.else