1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- enable support for plugins.

- new option WITHOUT_PLUGINS
Suggested by:	rdivacky
Feature safe:	yes
This commit is contained in:
Dirk Meyer 2009-09-17 14:54:09 +00:00
parent 869f6f713f
commit efc4da3f1c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=241592

View File

@ -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 <bsd.port.pre.mk>
.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} && \