svn commit: r313859 - head/graphics/colord

Koop Mast kwm at FreeBSD.org
Mon Mar 11 08:23:46 UTC 2013


Author: kwm
Date: Mon Mar 11 08:23:46 2013
New Revision: 313859
URL: http://svnweb.freebsd.org/changeset/ports/313859

Log:
  Fix inverted OPTION logic [1], while here replace gnomehack with USES=pathfix.
  
  Submitted by:	Jonathan Chen <jonc at chen.org.nz>

Modified:
  head/graphics/colord/Makefile

Modified: head/graphics/colord/Makefile
==============================================================================
--- head/graphics/colord/Makefile	Mon Mar 11 07:39:15 2013	(r313858)
+++ head/graphics/colord/Makefile	Mon Mar 11 08:23:46 2013	(r313859)
@@ -18,7 +18,8 @@ LIB_DEPENDS=	polkit-gobject-1:${PORTSDIR
 		lcms2:${PORTSDIR}/graphics/lcms2
 
 USE_XZ=		yes
-USE_GNOME=	gnomehier gnomehack glib20 intlhack
+USE_GNOME=	gnomehier glib20 intlhack
+USES=		pathfix
 USE_GMAKE=	yes
 USE_GETTEXT=	yes
 USE_SQLITE=	yes
@@ -36,10 +37,10 @@ OPTIONS_DEFINE=	SANE MANPAGES
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MSANE}
-CONFIGURE_ARGS+=--disable-sane
-.else
 CONFGIURE_ARGS+=--enable-sane=yes
-LIB_DEPENDS+=	sane.1:${PORTSDIR}/graphics/sane-backends
+LIB_DEPENDS+=	sane:${PORTSDIR}/graphics/sane-backends
+.else
+CONFIGURE_ARGS+=--disable-sane
 .endif
 
 .if ${PORT_OPTIONS:MMANPAGES}


More information about the svn-ports-all mailing list