diff options
-rw-r--r-- | audio/gtick/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/audio/gtick/Makefile b/audio/gtick/Makefile index 5c7bd5ff6b5e..3cfa01861623 100644 --- a/audio/gtick/Makefile +++ b/audio/gtick/Makefile @@ -19,16 +19,10 @@ GNU_CONFIGURE= yes USE_GNOME= gtk20 LDFLAGS+= -L${LOCALBASE}/lib -.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 " -.endif +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure |