ports/146584: [PATCH] print/hplip3 options/configure fixups

chris petrik chris at officialunix.com
Fri May 14 15:10:05 UTC 2010


>Number:         146584
>Category:       ports
>Synopsis:       [PATCH] print/hplip3 options/configure fixups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 14 15:10:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     chris petrik
>Release:        FreeBSD 8 AMD64
>Organization:
Officialunix
>Environment:
FreeBSD 8-STABLE 27th April AND64
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: hplip3/Makefile
===================================================================
RCS file: /usr/local/freebsdcvs/ports/print/hplip3/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- hplip3/Makefile	14 May 2010 11:43:23 -0000	1.39
+++ hplip3/Makefile	14 May 2010 15:03:46 -0000
@@ -28,8 +28,6 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-dependency-tracking \
 		--disable-pp-build \
-		--disable-dbus-build \
-		--disable-fax-build \
 		--enable-foomatic-ppd-install \
 		--enable-foomatic-rip-hplip-install \
 		--enable-hpijs-install \
@@ -58,7 +56,7 @@
 OPTIONS=	GUI "build with Python QT" off \
 		DBUS "dbus support" off \
 		XSANE "build xsane scanner app" off \
-		NOSNMP "Build without snmp" on
+		NETBUILD "Build without network build (SNMP)" on
 .include <bsd.port.options.mk>
 
 .if ${OSVERSION} < 800069
@@ -68,7 +66,7 @@
 .if !defined(WITHOUT_GUI)
 USE_QT_VER=	4
 QT_COMPONENTS=	gui
-CONFIGURE_ARGS+=--enable-qt4
+CONFIGURE_ARGS+=	--enable-qt4
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
 LIB_DEPENDS+=	pyglib-2.0:${PORTSDIR}/devel/py-gobject
 .endif
@@ -77,10 +75,13 @@
 RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus \
 		${PYTHON_SITELIBDIR}/dbus/mainloop/qt.so:${PORTSDIR}/devel/py-qt4-dbus
 LIB_DEPENDS+=	dbus-1.3:${PORTSDIR}/devel/dbus
+# fax added as, no dbus no fax
 CONFIGURE_ARGS+=	--enable-dbus-build \
 			--enable-fax-build
 PLIST_SUB+=	FAX=""
 .else
+CONFIGURE_ARGS+=	--disable-dbus-build \
+			--disable-fax-build
 PLIST_SUB+=	FAX="@comment "
 .endif
 
@@ -88,7 +89,7 @@
 RUN_DEPENDS+=	xsane:${PORTSDIR}/graphics/xsane
 .endif
 
-.if !defined(WITHOUT_NOSNMP)
+.if !defined(WITHOUT_NETBUILD)
 LIB_DEPENDS+=	netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
 CONFIGURE_ARGS+=	--enable-network-build
 .else


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list