- add NLS support
- bump PORTREVISION
PR: ports/190974
Submitted by: nikola lecic <nikola.lecic@anthesphoria.net>
Approved by: xxx (mentor)
Differential D533
editors/poedit PR ports/190974 Authored by rodrigo on Aug 4 2014, 11:51 AM. Tags None Referenced Files
Subscribers None
Details
PR: ports/190974
Diff Detail
Event TimelineComment Actions ok my bad my eyes and/or brain should be doing bad thing your first patch was good you do need OPTIONS_DEFINE and I haven't been able to see it for $reason Please restart on the first patch, and can you use options helpers instead of the dirty .include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endifby something like NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls OPTIONS_SUB=yes |