1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Port is stage safe

- Use options subs, helpers
This commit is contained in:
Pawel Pekala 2014-06-01 12:34:53 +00:00
parent e2be863d04
commit 0a88efc19b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356106

View File

@ -19,18 +19,10 @@ GNU_CONFIGURE= yes
USE_CSTD= gnu89
LDFLAGS+= -lm
NO_STAGE= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
.include <bsd.port.mk>