diff options
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/xchm/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/deskutils/xchm/Makefile b/deskutils/xchm/Makefile index c5c3912a0465..5e335bcd6af1 100644 --- a/deskutils/xchm/Makefile +++ b/deskutils/xchm/Makefile @@ -13,6 +13,10 @@ LICENSE= GPLv2 LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib +OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes +NLS_USES= gettext + GNU_CONFIGURE= yes USE_WX= 2.6+ WX_UNICODE= yes @@ -20,15 +24,4 @@ WX_CONF_ARGS= absolute LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} CPPFLAGS+= -I${LOCALBASE}/include -NO_STAGE= 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 - .include <bsd.port.mk> |