summaryrefslogtreecommitdiff
path: root/x11/kdebase3
diff options
context:
space:
mode:
authorjoerg <joerg>2006-06-14 12:37:10 +0000
committerjoerg <joerg>2006-06-14 12:37:10 +0000
commit9e29207c96ce2dad84d0c8a6c8447c89f5e8ac38 (patch)
tree68cc1b12cdb786b8b3e79e19b223078301c27755 /x11/kdebase3
parentfac4656faf874a4da6bf66da62ff4afdb3938de6 (diff)
downloadpkgsrc-9e29207c96ce2dad84d0c8a6c8447c89f5e8ac38.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/kdebase3')
-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