diff options
author | Thilo Bangert <bangert@gentoo.org> | 2009-03-16 10:45:13 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2009-03-16 10:45:13 +0000 |
commit | 1f83972d0ec71c52552f3eb6f79621e204a7890b (patch) | |
tree | a4220f9c522a254587a08e9c3aeb0d2d5a5cbdb4 /dev-libs/libtomcrypt | |
parent | Remove redundant dep. Already handled by kdelibs. (diff) | |
download | gentoo-2-1f83972d0ec71c52552f3eb6f79621e204a7890b.tar.gz gentoo-2-1f83972d0ec71c52552f3eb6f79621e204a7890b.tar.bz2 gentoo-2-1f83972d0ec71c52552f3eb6f79621e204a7890b.zip |
fix jobserver warning - fix libtool tag usage bug #239583
(Portage version: 2.2_rc24/cvs/Linux i686)
Diffstat (limited to 'dev-libs/libtomcrypt')
-rw-r--r-- | dev-libs/libtomcrypt/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/libtomcrypt/files/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch | 37 | ||||
-rw-r--r-- | dev-libs/libtomcrypt/libtomcrypt-1.17-r2.ebuild | 45 |
3 files changed, 91 insertions, 2 deletions
diff --git a/dev-libs/libtomcrypt/ChangeLog b/dev-libs/libtomcrypt/ChangeLog index ed49d22cd141..d0ef29199011 100644 --- a/dev-libs/libtomcrypt/ChangeLog +++ b/dev-libs/libtomcrypt/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libtomcrypt -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.32 2008/09/25 16:09:39 hawking Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.33 2009/03/16 10:45:13 bangert Exp $ + +*libtomcrypt-1.17-r2 (16 Mar 2009) + + 16 Mar 2009; Thilo Bangert <bangert@gentoo.org> + +files/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch, + +libtomcrypt-1.17-r2.ebuild: + fix jobserver warning - fix libtool tag usage bug #239583 *libtomcrypt-1.17-r1 (25 Sep 2008) diff --git a/dev-libs/libtomcrypt/files/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch b/dev-libs/libtomcrypt/files/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch new file mode 100644 index 000000000000..c49bee8bff33 --- /dev/null +++ b/dev-libs/libtomcrypt/files/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch @@ -0,0 +1,37 @@ +--- makefile.shared.orig 2009-03-16 11:07:19.000000000 +0100 ++++ makefile.shared 2009-03-16 11:30:25.000000000 +0100 +@@ -9,7 +9,7 @@ + VERSION=0:117 + + # Compiler and Linker Names +-CC=libtool --mode=compile --tag=CC gcc ++CC=libtool --mode=compile --tag CC gcc + + # ranlib tools + ifndef RANLIB +@@ -244,7 +244,7 @@ + library: $(LIBNAME) + + testprof/$(LIBTEST): +- cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) make -f makefile.shared ++ cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) $(MAKE) -f makefile.shared + + objs: $(OBJECTS) + +@@ -253,7 +253,7 @@ + + install: $(LIBNAME) + install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) +- cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) DESTDIR=$(DESTDIR) make -f makefile.shared install ++ cd testprof ; CFLAGS="$(CFLAGS)" GROUP=$(GROUP) USER=$(USER) VERSION=$(VERSION) LIBPATH=$(LIBPATH) LIBTEST=$(LIBTEST) LIBTEST_S=$(LIBTEST_S) DESTDIR=$(DESTDIR) $(MAKE) -f makefile.shared install + libtool --silent --mode=install install -c libtomcrypt.la $(DESTDIR)$(LIBPATH)/libtomcrypt.la + install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) + install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH) +--- testprof/makefile.shared.orig 2009-03-16 11:26:19.000000000 +0100 ++++ testprof/makefile.shared 2009-03-16 11:26:47.000000000 +0100 +@@ -1,4 +1,4 @@ +-CC=libtool --mode=compile gcc ++CC=libtool --mode=compile --tag CC gcc + + CFLAGS += -I../src/headers -I./ -Wall -W + diff --git a/dev-libs/libtomcrypt/libtomcrypt-1.17-r2.ebuild b/dev-libs/libtomcrypt/libtomcrypt-1.17-r2.ebuild new file mode 100644 index 000000000000..41904d619bda --- /dev/null +++ b/dev-libs/libtomcrypt/libtomcrypt-1.17-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-1.17-r2.ebuild,v 1.1 2009/03/16 10:45:13 bangert Exp $ + +inherit eutils + +DESCRIPTION="modular and portable cryptographic toolkit" +HOMEPAGE="http://libtom.org/?page=features&whatfile=crypt" +SRC_URI="http://libtom.org/files/crypt-${PV}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc libtommath tomsfastmath" + +RDEPEND="libtommath? ( dev-libs/libtommath ) + tomsfastmath? ( dev-libs/tomsfastmath ) + !libtommath? ( !tomsfastmath? ( dev-libs/libtommath ) )" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base virtual/ghostscript )" + +src_unpack() { + unpack ${A} + cd "${S}" + use doc || sed -i '/^install:/s:docs::' makefile + epatch "${FILESDIR}"/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch +} + +src_compile() { + use libtommath && append-flags -DLTM_DESC + use tomsfastmath && append-flags -DTFM_DESC + emake -f makefile.shared IGNORE_SPEED=1 || die "emake failed" +} + +src_install() { + #jobserver unavailable + make -f makefile.shared DESTDIR="${D}" install ||\ + die "make install failed" + dodoc TODO changes + if use doc ; then + dodoc doc/* + docinto notes ; dodoc notes/* + docinto demos ; dodoc demos/* + fi +} |