Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Mar 2016 13:43:53 -0400
From:      bsd@haps.ca
To:        cyberbotx@cyberbotx.com, freebsd-ports@freebsd.org
Subject:   print/cups-filters
Message-ID:  <cbce5897da4ccd24545490706e187ea1@haps.ca>

next in thread | raw e-mail | index | archive | help
In keeping with current fashion, ports seem to be provided with fewer 
options and more things sucked in by default.
Please don't force dbus on the rest of us, thanks:

--- Makefile.orig	2016-03-27 13:38:13.277556000 -0400
+++ Makefile	2016-03-27 13:00:07.083467000 -0400
@@ -16,7 +16,6 @@
  		libijs.so:${PORTSDIR}/print/libijs \
  		liblcms2.so:${PORTSDIR}/graphics/lcms2 \
  		libqpdf.so:${PORTSDIR}/print/qpdf \
-		libdbus-1.so:${PORTSDIR}/devel/dbus \
  		libcupsimage.so:${PORTSDIR}/print/cups \
  		libfreetype.so:${PORTSDIR}/print/freetype2 \
  		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
@@ -43,13 +42,15 @@
  LIBS+=		-L${LOCALBASE}/lib
  USE_LDCONFIG=	yes

-OPTIONS_DEFINE=	AVAHI DOCS
+OPTIONS_DEFINE=	AVAHI DOCS DBUS
  OPTIONS_DEFAULT=AVAHI

  AVAHI_CONFIGURE_ENABLE=	avahi
  AVAHI_LIB_DEPENDS=	libavahi-client.so:${PORTSDIR}/net/avahi-app
  AVAHI_SUB_LIST=		AVAHI_DAEMON=avahi_daemon
  AVAHI_SUB_LIST_OFF=	AVAHI_DAEMON=
+DBUS_CONFIGURE_ENABLE=	dbus
+DBUS_LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus

  post-patch:
  	@${REINPLACE_CMD} 's:-std=c++0x:-std=c++11:' ${WRKSRC}/Makefile.in




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cbce5897da4ccd24545490706e187ea1>