diff --git a/net/grsync/Makefile b/net/grsync/Makefile index 18dfbf1..d1f0fcd 100644 --- a/net/grsync/Makefile +++ b/net/grsync/Makefile @@ -19,7 +19,6 @@ USE_GNOME= gtk20 USES= desktop-file-utils gmake shared-mime-info pkgconfig shebangfix SHEBANG_FILES= src/grsync-batch GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --disable-unity INSTALLS_ICONS= yes @@ -27,16 +26,10 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS -OPTIONS_DEFAULT= NLS OPTIONS_SUB= yes -NLS_USES= gettext - -.include +USES+= gettext +NLS_CONFIGURE_ENABLE= nls -post-patch: -.if empty(PORT_OPTIONS:MNLS) - @${REINPLACE_CMD} 's/^ALL_LINGUAS=.*/ALL_LINGUAS=""/' \ - ${WRKSRC}/configure -.endif +CONFIGURE_ARGS+= --disable-unity .include