diff --git a/devel/gold/Makefile b/devel/gold/Makefile index 36d503942455..1fe69df459d0 100644 --- a/devel/gold/Makefile +++ b/devel/gold/Makefile @@ -7,6 +7,7 @@ PORTNAME= gold PORTVERSION= 1.9.0.2009.09.16 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.dinoex.de/pub/approved/ DISTNAME= binutils-${PORTNAME}-${PORTVERSION} @@ -23,6 +24,9 @@ USE_PERL5_BUILD= yes WRKSRC= ${WRKDIR}/binutils PLIST_FILES= bin/ld-new +OPTIONS= PLUGINS "Support fpr plugins" on \ + NLS "Native language support" off + .include .if defined(WITH_NLS) @@ -32,6 +36,10 @@ CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+= --disable-nls .endif +.if !defined(WITHOUT_PLUGINS) +CONFIGURE_ARGS+= --enable-plugin +.endif + do-configure: .for i in . libiberty gold -cd ${WRKSRC}/${i} && \