Date: Fri, 18 Jul 2014 06:10:50 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362178 - head/devel/librest Message-ID: <201407180610.s6I6AouK060523@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Fri Jul 18 06:10:49 2014 New Revision: 362178 URL: http://svnweb.freebsd.org/changeset/ports/362178 QAT: https://qat.redports.org/buildarchive/r362178/ Log: - Make GNOME dependency optional (but still on by default) - Use OPTIONS helpers and clean up things a bit while I'm here Approved by: maintainer Modified: head/devel/librest/Makefile Modified: head/devel/librest/Makefile ============================================================================== --- head/devel/librest/Makefile Fri Jul 18 05:44:31 2014 (r362177) +++ head/devel/librest/Makefile Fri Jul 18 06:10:49 2014 (r362178) @@ -13,19 +13,22 @@ COMMENT= Easy access to RESTful web serv LICENSE= LGPL21 BUILD_DEPENDS= ca_root_nss>0:${PORTSDIR}/security/ca_root_nss -LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome -RUN_DEPENDS= ca_root_nss>0:${PORTSDIR}/security/ca_root_nss +RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= pathfix pkgconfig gmake tar:xz +USES= gmake pathfix pkgconfig tar:xz GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt USE_LDCONFIG= yes USE_GNOME= glib20 intlhack libxml2 introspection:build -CONFIGURE_ARGS= --with-ca-certificates=${LOCALBASE}/share/certs/ca-root-nss.crt - PORTEXAMPLES= *.c -OPTIONS_DEFINE= EXAMPLES +OPTIONS_DEFINE= GNOME EXAMPLES +OPTIONS_DEFAULT= GNOME + +GNOME_LIB_DEPENDS= libsoup-gnome-2.4.so:${PORTSDIR}/devel/libsoup-gnome +GNOME_CONFIGURE_OFF= --without-gnome +GNOME_LIB_DEPENDS_OFF= libsoup-2.4.so:${PORTSDIR}/devel/libsoup post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407180610.s6I6AouK060523>