Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236209 - sys-apps/pcsc-lite-1.4.102 hal or usb use flag but not both
Summary: sys-apps/pcsc-lite-1.4.102 hal or usb use flag but not both
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-30 14:30 UTC by Sander Sweers
Modified: 2008-08-30 22:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2008-08-30 14:30:14 UTC
checking libhal.h presence... yes
checking for libhal.h... yes
checking for libhal_ctx_new... yes
configure: error: You can't use libhal _and_ libusb. Select only one.

It seems it can only use HAL or USB use flag and not both at the same time.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2008-08-30 14:41:18 UTC
correct. without large editing of the code how do you want it handled?
Comment 2 Sander Sweers 2008-08-30 15:02:41 UTC
(In reply to comment #1)
> correct. without large editing of the code how do you want it handled?

Maybe something like this?

pkg_setup() {
    if use hal && use usb; then
        eerror "The usb and hal useflag can not be enabled at the same time"
        die "please select usb or hal use flag"
    fi
}

    
Comment 3 Alon Bar-Lev 2008-08-30 16:19:28 UTC
Hmmm... hal should be preferred... If both are set silent ignore usb is the right thing to do.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2008-08-30 22:11:12 UTC
thanks. Implemented as per Alon's suggestion.