pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/cups print/cups: PR#46984 Remove libusb options ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd91c6306040
branches:  trunk
changeset: 609676:fd91c6306040
user:      marino <marino%pkgsrc.org@localhost>
date:      Mon Oct 08 12:47:23 2012 +0000

description:
print/cups: PR#46984 Remove libusb options from DragonFly, SunOS

The devel/libusb1 package is masked for both DragonFly and SunOS.  This
cups package set libusb on by default which means cups fails to build
with no set options on those two platforms.

Add an OPSYS check which prevents libusb from even being offered as an
option on DragonFly and SunOS.

diffstat:

 print/cups/options.mk |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 5f3cc1578338 -r fd91c6306040 print/cups/options.mk
--- a/print/cups/options.mk     Mon Oct 08 12:42:17 2012 +0000
+++ b/print/cups/options.mk     Mon Oct 08 12:47:23 2012 +0000
@@ -1,12 +1,18 @@
-# $NetBSD: options.mk,v 1.15 2012/09/18 15:17:32 drochner Exp $
+# $NetBSD: options.mk,v 1.16 2012/10/08 12:47:23 marino Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.cups
 PKG_OPTIONS_REQUIRED_GROUPS=   pdftops
 PKG_OPTIONS_GROUP.pdftops=     ghostscript poppler
-PKG_SUPPORTED_OPTIONS= acl dbus dnssd kerberos libusb pam slp tcpwrappers
-PKG_SUGGESTED_OPTIONS= dbus dnssd kerberos libusb poppler slp
+PKG_SUPPORTED_OPTIONS= acl dbus dnssd kerberos pam slp tcpwrappers
+PKG_SUGGESTED_OPTIONS= dbus dnssd kerberos poppler slp
 PKG_OPTIONS_LEGACY_OPTS+=      xpdf:poppler gs:ghostscript
 
+# Neither DragonFly nor SunOS can build libusb1
+.if ${OPSYS} != "DragonFly" && ${OPSYS} != "SunOS"
+PKG_SUPPORTED_OPTIONS+= libusb
+PKG_SUGGESTED_OPTIONS+= libusb
+.endif
+
 .include "../../mk/bsd.options.mk"
 
 MESSAGE_SRC=           ${PKGDIR}/MESSAGE



Home | Main Index | Thread Index | Old Index