diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-02-23 09:43:15 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2009-02-23 09:43:15 +0000 |
commit | d3f5f82d0e9331e081f14f1130cf072f937da151 (patch) | |
tree | a36ca5d67003b5b6e853603feee63bcf629b6619 /sys-apps/usb_modeswitch | |
parent | Stop using prepalldocs. (diff) | |
download | historical-d3f5f82d0e9331e081f14f1130cf072f937da151.tar.gz historical-d3f5f82d0e9331e081f14f1130cf072f937da151.tar.bz2 historical-d3f5f82d0e9331e081f14f1130cf072f937da151.zip |
Fix building with --as-needed and respect CPPFLAGS. Thanks to Kevin Pyle in bug #248397 for the patch.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/usb_modeswitch')
-rw-r--r-- | sys-apps/usb_modeswitch/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/usb_modeswitch/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild | 6 |
3 files changed, 22 insertions, 7 deletions
diff --git a/sys-apps/usb_modeswitch/ChangeLog b/sys-apps/usb_modeswitch/ChangeLog index 932f85414276..a41ceddd41db 100644 --- a/sys-apps/usb_modeswitch/ChangeLog +++ b/sys-apps/usb_modeswitch/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/usb_modeswitch -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.1 2008/08/25 22:28:23 wschlich Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/ChangeLog,v 1.2 2009/02/23 09:43:14 flameeyes Exp $ + + 23 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org> + usb_modeswitch-0.9.4.ebuild: + Fix building with --as-needed and respect CPPFLAGS. Thanks to Kevin Pyle + in bug #248397 for the patch. *usb_modeswitch-0.9.4 (25 Aug 2008) diff --git a/sys-apps/usb_modeswitch/Manifest b/sys-apps/usb_modeswitch/Manifest index eb9a1faa73d3..8537fbc692a7 100644 --- a/sys-apps/usb_modeswitch/Manifest +++ b/sys-apps/usb_modeswitch/Manifest @@ -1,6 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 91-usb_modeswitch.rules.udev-ge-106 103 RMD160 8f8e937275ea9a20a04706367c4a88c8fcc3fced SHA1 ac1abd61fe39e4e4c06a30d36b91b92675570343 SHA256 59780e741b77e9c607337788ecfd649d1e15d685775c4bde054bebd6db475507 AUX 91-usb_modeswitch.rules.udev-lt-106 102 RMD160 7087efbe9bf0036d0667ad3d4da0519fb8bf69e1 SHA1 be900037f59f229b8d701230ef2bcc56a1546e6f SHA256 6e3c63255665389c40f8a3bd665fdfdfa81992c45475f5cdde434f90a1a6c51e DIST usb_modeswitch-0.9.4.tar.bz2 22498 RMD160 ee2c890e29da356dca7a4cee1e4d2ddca167f536 SHA1 358ef293f841f419720445ab2c109cc5c81b3978 SHA256 ffed8af4865753c845c67e0b0787dcdbcf4038e80f528805fdc04dea24fa7ee2 -EBUILD usb_modeswitch-0.9.4.ebuild 1489 RMD160 bb9c184fe31c6078def5aa0eddac9a45c235a5b3 SHA1 2547b8d5200079c90081dca971f746250f34c405 SHA256 1cf5f588b51b70505f5a55e54f8b1eca2b9062a687d321c0c9dc87aeddc07f47 -MISC ChangeLog 468 RMD160 d095ccb7cfd3fe9cb9be6d51f4c2aba083413256 SHA1 8cbdb0859df2260cb1cc33d6c3ea58143233356b SHA256 1b558f949fe9414a0a3222d73218d883f007e6e19b80b80e21497996366d4b06 +EBUILD usb_modeswitch-0.9.4.ebuild 1501 RMD160 8b3b7915c5929367e42a518774becc57e1bf283f SHA1 2e9bf01c38d7c480b43eb379265aa96b3828b992 SHA256 b19612dc322240bb71678fa94db784ab0b6787b99759189d2cde0414d72eaac0 +MISC ChangeLog 664 RMD160 d35857f9bd95ad7703f9235d3c212f5223089e94 SHA1 683700eec635f69d07d479ba6a509658299df16c SHA256 5421da29254718ecc5a87fc3e8b9d39cc2b753952e61bec11fcf37c7ab2b3b1d MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.10 (GNU/Linux) + +iEYEARECAAYFAkmib9cACgkQAiZjviIA2Xi7+gCfSeQSCIt/UD+8e9Wb5FRdj9U6 +jLgAoNlzKqX/o/qtRXNmqtbgHl/CpZDh +=VuoD +-----END PGP SIGNATURE----- diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild index 1ae6addfeb19..d28c45fcd68a 100644 --- a/sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild +++ b/sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild,v 1.1 2008/08/25 22:28:23 wschlich Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usb_modeswitch/usb_modeswitch-0.9.4.ebuild,v 1.2 2009/02/23 09:43:15 flameeyes Exp $ inherit toolchain-funcs @@ -17,7 +17,7 @@ DEPEND="dev-libs/libusb" RDEPEND="${DEPEND}" src_compile() { - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -l usb -o usb_modeswitch usb_modeswitch.c \ + $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o usb_modeswitch usb_modeswitch.c -lusb \ || die 'failed to compile usb_modeswitch' } |