diff options
-rw-r--r-- | devel/binutils/Makefile | 10 |
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 |