pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/kdebase3 Avoid libusb on Solaris / x86_64. It exis...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c9923062a74
branches:  trunk
changeset: 514574:6c9923062a74
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jun 14 12:37:10 2006 +0000

description:
Avoid libusb on Solaris / x86_64. It exists, but only for 32bit mode.
>From Gilles Dauphin in PR 33727.

diffstat:

 x11/kdebase3/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d552b41d3aeb -r 6c9923062a74 x11/kdebase3/Makefile
--- a/x11/kdebase3/Makefile     Wed Jun 14 12:06:53 2006 +0000
+++ b/x11/kdebase3/Makefile     Wed Jun 14 12:37:10 2006 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index