print/cups-filters
bsd at haps.ca
bsd at haps.ca
Sun Mar 27 17:50:10 UTC 2016
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
More information about the freebsd-ports
mailing list