summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-04-13 11:00:08 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-04-13 11:00:08 +0000
commitb9516f5e2473c19413ed7292f2d87f18e6cc0cdb (patch)
tree34bdac2ef9b1e8948a1e0b1e919cd8b51fe20f68 /sys-freebsd
parentversion bump - fix install location of header files (diff)
downloadhistorical-b9516f5e2473c19413ed7292f2d87f18e6cc0cdb.tar.gz
historical-b9516f5e2473c19413ed7292f2d87f18e6cc0cdb.tar.bz2
historical-b9516f5e2473c19413ed7292f2d87f18e6cc0cdb.zip
Provide a libusb.pc for better emulation of Linux's libusb
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-lib/ChangeLog6
-rw-r--r--sys-freebsd/freebsd-lib/Manifest13
-rw-r--r--sys-freebsd/freebsd-lib/files/libusb.pc.in11
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild8
4 files changed, 30 insertions, 8 deletions
diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog
index fa8aa5704f95..a124afaae713 100644
--- a/sys-freebsd/freebsd-lib/ChangeLog
+++ b/sys-freebsd/freebsd-lib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-freebsd/freebsd-lib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.86 2010/03/23 11:24:11 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.87 2010/04/13 11:00:08 aballier Exp $
+
+ 13 Apr 2010; Alexis Ballier <aballier@gentoo.org> freebsd-lib-8.0.ebuild,
+ +files/libusb.pc.in:
+ Provide a libusb.pc for better emulation of Linux's libusb
23 Mar 2010; Javier Villavicencio <the_paya@gentoo.org>
freebsd-lib-8.0.ebuild:
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest
index 85649e3b543c..fb3f85feb44c 100644
--- a/sys-freebsd/freebsd-lib/Manifest
+++ b/sys-freebsd/freebsd-lib/Manifest
@@ -15,6 +15,7 @@ AUX freebsd-lib-bsdxml.patch 339 RMD160 27b501cda2ac76230a72dfc3ee6593cb50f8d4b0
AUX freebsd-lib-includes.patch 316 RMD160 655d20a7a86715983469dbda678bca0ae726c069 SHA1 65cd796b0f8747d8d063b1f6e3ea53f82cdcdbe1 SHA256 be4dd4c905715c2d165be282cf377f799b32ccb76986947bc0bf1b5730b57b06
AUX freebsd-lib-new_as.patch 1494 RMD160 36ac871434f9994d5a0d7e1b73765c055d49948a SHA1 10e2e6b7b27459548a17809ada287520e3ffeeea SHA256 6021f34246dcf768a94ffe7273ea2f5590adf6d82ce7fb555234f8012bdbd982
AUX libmap.conf 201 RMD160 ad0ab6c08b5c541e0e45636dcbbaa468bbae2f95 SHA1 df81db07a94d988f1c41b4696b4d3b0058e73f83 SHA256 36a1bd56965f171cbb058f6e1762801e3b92c083fe36f6fe046bd669beed9742
+AUX libusb.pc.in 208 RMD160 13c7e5587c565453fc6a11d156da302fa7590ee0 SHA1 f0f9815fa27a8f1cf8405c1a8987df5d5d6a6b1b SHA256 9bfe398a335f8b9b1c3dd167ab0c9206fe3bdd4e1da318ece977e20f3c2d7c56
DIST freebsd-contrib-7.2.tar.bz2 41156304 RMD160 d32da79d66aa9e5cd113bd7b3a16b7d83849dca2 SHA1 8f3778a1638bfe852f95d746d181a56258446182 SHA256 e6b5b4320552185d64a1d17676ca4376ca43f147eafaee7e2b0885571e4ee1f2
DIST freebsd-contrib-8.0.tar.bz2 40637930 RMD160 8130bff1c601e16196f4c108a4bf0e2fef9d8b31 SHA1 a1f3b078079e1716892c80749d43e061d7150aaa SHA256 66cb1b535d8f31ed3f0976ae3cceaee5688052776dd2eafdd44aadad2ddea1b6
DIST freebsd-crypto-7.2.tar.bz2 4318008 RMD160 2dfa213a9384c4ab0358ebbf1d432cd58fac0f9c SHA1 d89fd8f2132c88b360f0c7f3861b55092f5118a4 SHA256 479defd73c8b67dff02beaeccd0bf5032cdd3772e0cdcb59bde577ce6179e178
@@ -33,13 +34,13 @@ DIST freebsd-sys-8.0.tar.bz2 22552771 RMD160 08f5b09dc0b4353658a309e9e1198dbab1f
DIST freebsd-usbin-7.2.tar.bz2 2654480 RMD160 af0a94e0affce332cf30532ea45251563e65632e SHA1 b52db981e0250357b40d10ebc7ffd6ca3ea9cc4c SHA256 56574e81ac4ab54a20d83d9a2d1ba3a42b5677691675f1db162fde161da0907f
DIST freebsd-usbin-8.0.tar.bz2 2411151 RMD160 f162437ab2e3c89c6635e5c567e39b60974ce3c1 SHA1 be7b4ccd767e64fa0dedced631c18a1c3969b417 SHA256 c38230af5d667a254ddcce0b77100ada2b7af6e17309f033950c2852f70cc1dd
EBUILD freebsd-lib-7.2-r1.ebuild 12073 RMD160 f4edba0d24456976d6c923d8140a141d1329115d SHA1 7a9783aa47b5379fd66ed07656f4c3158a710fc1 SHA256 fa04a95eacf9a64b790e584f81139e83181bd8035997a2471996650ba7b7d180
-EBUILD freebsd-lib-8.0.ebuild 14408 RMD160 3dbb7ab41f8e93d8ff246a0f11d670f38b4b34f4 SHA1 c9d216fbdfca10b227b046f0358ef2f9a3121e8f SHA256 2354552dcd20e673cfc422e0d80d29437dd7ae2373bc3a5b887964e44d70d79e
-MISC ChangeLog 20792 RMD160 12d54bfa98c4cacf71c658e6f42ffade9a18259a SHA1 0568826eed1dd250696f76dccd6162f073dbf1a9 SHA256 9df2da50a71644c0ca95f642ea1ee790d46690726ca0e3d1b033aae8ea603228
+EBUILD freebsd-lib-8.0.ebuild 14653 RMD160 2edb266f577099bf1e1b6efcd52e0e26a6180d7b SHA1 e980da313628ca903d2d25e1c09b7da2e95e3df0 SHA256 5c0c056944c1282b87ec0668b16551a47ef6cd4c8c09278640b8fdff1c12d918
+MISC ChangeLog 20953 RMD160 f5aa72748f1f3c5336a83b0fb7187f37c83b7b6b SHA1 7e1d272ae5d54145706f630d28a73c07d99ec732 SHA256 3e380998a3e5eb9add95a8aa93ab495543d00cd99450148c84327709a0ddc687
MISC metadata.xml 362 RMD160 535ffb5cb1305012df32a444f602d4ec20a10700 SHA1 fc9fdf3b5fc6d37cf573998d76905bd911c60e07 SHA256 244399668bb611eb11a3b063d11424cbecc2363443d6f78f3f042a566980bbb1
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (FreeBSD)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkuopOoACgkQgvV6MZSadQoz7ACg5Z43BzSBqVVDXPtVkWFoJIua
-yyIAoLlu+BbfX+VrPBpLgn/Hvm89JqTN
-=nuqw
+iEYEARECAAYFAkvETr4ACgkQvFcC4BYPU0q4hACghcsqt7TuNz/XRa2aUIv8uHHq
+wGUAn0FOFN8tmhItu9EBgQR3d+0/MbT3
+=RR7K
-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-lib/files/libusb.pc.in b/sys-freebsd/freebsd-lib/files/libusb.pc.in
new file mode 100644
index 000000000000..f63c6e399816
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/libusb.pc.in
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=@LIBDIR@
+includedir=${prefix}/include
+
+Name: libusb
+Description: USB access library (FreeBSD version)
+Version: 0.1.12
+Libs: -L${libdir} -lusb
+Cflags: -I${includedir}
+
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild
index 14c9d535b330..02bd6956cea5 100644
--- a/sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild,v 1.4 2010/03/23 11:24:11 the_paya Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-8.0.ebuild,v 1.5 2010/04/13 11:00:08 aballier Exp $
EAPI=2
@@ -365,6 +365,12 @@ END_LDSCRIPT
# during compile or install phase.
SANDBOX_PREDICT="/dev/crypto"
EOF
+
+ # Install a libusb.pc for better compat with Linux's libusb
+ if use usb ; then
+ dodir /usr/$(get_libdir)/pkgconfig
+ sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die
+ fi
}
install_includes()