diff -ruN libosinfo.orig/Makefile libosinfo/Makefile --- libosinfo.orig/Makefile 2014-07-13 10:34:46.000000000 +0200 +++ libosinfo/Makefile 2014-07-14 19:46:32.000000000 +0200 @@ -7,27 +7,21 @@ MASTER_SITES= https://fedorahosted.org/releases/l/i/libosinfo/ MAINTAINER= novel@FreeBSD.org -COMMENT= A library for managing OS information for virtualization +COMMENT= Library for managing OS information for virtualization LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome USES= gmake libtool pathfix pkgconfig -USE_GNOME= gnomehier glib20 libxml2 libxslt introspection intltool +USE_GNOME= gnomehier glib20 libxml2 libxslt introspection:build intltool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-tests --disable-vala OPTIONS_DEFINE= NLS +OPTIONS_SUB=yes -.include - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls .include