summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-06-14 12:37:10 +0000
committerjoerg <joerg@pkgsrc.org>2006-06-14 12:37:10 +0000
commita01bcaf2f56ee9ba3529cc646e24d781cb9565fb (patch)
tree68cc1b12cdb786b8b3e79e19b223078301c27755 /x11
parent28f61d9d8fab830b70297a36c7faa59cb1dab178 (diff)
downloadpkgsrc-a01bcaf2f56ee9ba3529cc646e24d781cb9565fb.tar.gz
Avoid libusb on Solaris / x86_64. It exists, but only for 32bit mode.
From Gilles Dauphin in PR 33727.
Diffstat (limited to 'x11')
-rw-r--r--x11/kdebase3/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index ddad93af918..61f7f88ad67 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2006/06/01 13:46:31 markd Exp $
+# $NetBSD: Makefile,v 1.115 2006/06/14 12:37:10 joerg Exp $
DISTNAME= kdebase-${_KDE_VERSION}
CATEGORIES= x11
@@ -115,6 +115,11 @@ INSTALL_UNSTRIPPED= yes
CONFIGURE_ARGS+= --with-pam
.endif
+# Solaris 10 has libusb only for 32 bit ABI (see PR 33727).
+.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+= --without-libusb
+.endif
+
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux"
PLIST_SUBST+= HAVE_USBVIEW=""
.else