Subject: pkg/33727: x11/kdebase3 Solaris10 libusb x86_64
To: None <,,>
From: Gilles Dauphin <>
List: pkgsrc-bugs
Date: 06/14/2006 10:05:01
>Number:         33727
>Category:       pkg
>Synopsis:       x11/kdebase3 Solaris10 libusb x86_64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 14 10:05:01 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc

System: SunOS 5.10 Generic_Patch_118844-30 i86pc


libusb exist on Solaris but the lib is only 32bits ABI
there is no 64bit libusb on Solaris and pkgsrc devel/libusb
is not for Solaris10 (or strong patch needed).
kdebase3's configure is too much smart !! because it found this lib in some PATH...
and linking 32/64 binary is not smart enought !
So Makefile in kdebase3 need at least a patch



patch for x11/kdebase3

--- Makefile.orig       Tue Jun 13 12:57:47 2006
+++ Makefile    Wed Jun 14 11:57:01 2006
@@ -193,6 +193,11 @@
 CONFIGURE_ENV+= kde_cv_path_fontconfig_config='NONE'
+# Solaris 10 have only libusb for 32 bit ABI.
+.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
+CONFIGURE_ARGS+=       --without-libusb
 .include "../../meta-pkgs/kde3/"
 .include "../../databases/openldap-client/"