diff options
author | Alastair Tse <liquidx@gentoo.org> | 2004-08-06 03:59:00 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2004-08-06 03:59:00 +0000 |
commit | 202f8b77b6bbbaeae12da538a1c0703c6e7c8c70 (patch) | |
tree | 058df0a350874b7e8df3206df1bd07f069277113 /dev-libs/libusb | |
parent | rebuild manifest (Manifest recommit) (diff) | |
download | gentoo-2-202f8b77b6bbbaeae12da538a1c0703c6e7c8c70.tar.gz gentoo-2-202f8b77b6bbbaeae12da538a1c0703c6e7c8c70.tar.bz2 gentoo-2-202f8b77b6bbbaeae12da538a1c0703c6e7c8c70.zip |
adding macos. adding macos specific changes like glibtoolize
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r-- | dev-libs/libusb/ChangeLog | 5 | ||||
-rw-r--r-- | dev-libs/libusb/libusb-0.1.8.ebuild | 17 |
2 files changed, 14 insertions, 8 deletions
diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog index 4fe3733bd898..5751bcdc8d5d 100644 --- a/dev-libs/libusb/ChangeLog +++ b/dev-libs/libusb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-libs/libusb # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.21 2004/07/19 02:48:40 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.22 2004/08/06 03:59:00 liquidx Exp $ + + 05 Aug 2004; Alastair Tse <liquidx@gentoo.org> libusb-0.1.8.ebuild: + adding macos. adding macos specific changes like glibtoolize 18 Jul 2004; Tom Gall <tgall@gentoo.org> libusb-0.1.8.ebuild: stable on ppc64, bug #57128 diff --git a/dev-libs/libusb/libusb-0.1.8.ebuild b/dev-libs/libusb/libusb-0.1.8.ebuild index 28dffd60be96..c95ad939bc09 100644 --- a/dev-libs/libusb/libusb-0.1.8.ebuild +++ b/dev-libs/libusb/libusb-0.1.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.8.ebuild,v 1.6 2004/07/19 02:48:40 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.8.ebuild,v 1.7 2004/08/06 03:59:00 liquidx Exp $ inherit eutils @@ -10,25 +10,28 @@ SRC_URI="mirror://sourceforge/libusb/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~ia64 ppc64" +KEYWORDS="~x86 ~sparc ~ppc ~alpha ~amd64 ~ia64 ppc64 macos" IUSE="debug doc" DEPEND="sys-devel/libtool - doc? ( app-text/openjade - =app-text/docbook-sgml-dtd-3.1-r1 )" + !macos? ( doc? ( app-text/openjade + =app-text/docbook-sgml-dtd-3.1-r1 ) )" src_unpack(){ unpack ${A} # needed by libgphoto2, see bug #45889 - cd ${S} - epatch ${FILESDIR}/libusb-0.1.8-amd64-fPIC.patch + cd ${S}; epatch ${FILESDIR}/libusb-0.1.8-amd64-fPIC.patch + [ "${ARCH}x" = "macosx" ] && \ + ( aclocal && autoconf && automake --add-missing ) } src_compile() { local myconf # keep this otherwise libraries will not have .so extensions - libtoolize --force + [ "${ARCH}x" = "macosx" ] \ + && glibtoolize --force \ + || elibtoolize --force use doc \ && myconf="--enable-build-docs" \ |