diff options
author | Harald van Dijk <truedfx@gentoo.org> | 2007-03-26 18:29:07 +0000 |
---|---|---|
committer | Harald van Dijk <truedfx@gentoo.org> | 2007-03-26 18:29:07 +0000 |
commit | 7228d375d594809b1b6328af05362f2fc5a8bce3 (patch) | |
tree | 4d7aa0e2b8f8f06a890abfe1f207243f4eea429c /dev-libs/librep | |
parent | Version bump and new asneeded patch from Marcelo Goes <vanquirius AT gentoo.o... (diff) | |
download | gentoo-2-7228d375d594809b1b6328af05362f2fc5a8bce3.tar.gz gentoo-2-7228d375d594809b1b6328af05362f2fc5a8bce3.tar.bz2 gentoo-2-7228d375d594809b1b6328af05362f2fc5a8bce3.zip |
Add a more recent snapshot for bug #172299
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs/librep')
-rw-r--r-- | dev-libs/librep/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/librep/files/digest-librep-0.17_p20070101 | 6 | ||||
-rw-r--r-- | dev-libs/librep/files/librep-0.17_p20070101-libtool.patch | 86 | ||||
-rw-r--r-- | dev-libs/librep/librep-0.17_p20070101.ebuild | 53 |
4 files changed, 152 insertions, 1 deletions
diff --git a/dev-libs/librep/ChangeLog b/dev-libs/librep/ChangeLog index c2abe06f9fbc..6cca2a97962b 100644 --- a/dev-libs/librep/ChangeLog +++ b/dev-libs/librep/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/librep # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v 1.44 2007/02/22 01:01:28 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/ChangeLog,v 1.45 2007/03/26 18:29:07 truedfx Exp $ + +*librep-0.17_p20070101 (26 Mar 2007) + + 26 Mar 2007; <harald@gentoo.org> + +files/librep-0.17_p20070101-libtool.patch, +librep-0.17_p20070101.ebuild: + Add a more recent snapshot for bug #172299 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/dev-libs/librep/files/digest-librep-0.17_p20070101 b/dev-libs/librep/files/digest-librep-0.17_p20070101 new file mode 100644 index 000000000000..74ac97ce2bb6 --- /dev/null +++ b/dev-libs/librep/files/digest-librep-0.17_p20070101 @@ -0,0 +1,6 @@ +MD5 ad4ad851ff9f82a5d61024cd96bc2998 librep-0.17.tar.gz 1195890 +RMD160 2239837386700ed4893fa91b684192cb8721a2d1 librep-0.17.tar.gz 1195890 +SHA256 3cc4d923e4eaee00adb696dbeb0144847e7cc03475962bfeb4add4cbbe271a3e librep-0.17.tar.gz 1195890 +MD5 0b87ba536da743a093897c24ccfca6e7 librep-0.17_p20070101.patch.bz2 6838 +RMD160 1f2155e4a85e0b172b8c6b87dd14063ce5c6a80d librep-0.17_p20070101.patch.bz2 6838 +SHA256 6ca454c29e72acd55876651384529bf969a50b11e5c9799dc4392c04099323b9 librep-0.17_p20070101.patch.bz2 6838 diff --git a/dev-libs/librep/files/librep-0.17_p20070101-libtool.patch b/dev-libs/librep/files/librep-0.17_p20070101-libtool.patch new file mode 100644 index 000000000000..e55be4e5a32a --- /dev/null +++ b/dev-libs/librep/files/librep-0.17_p20070101-libtool.patch @@ -0,0 +1,86 @@ +--- trunk/Makedefs.in ++++ trunk/Makedefs.in +@@ -96,11 +96,11 @@ + + # Rule for libtool controlled C objects + %.lo : %.c +- $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $< ++ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + + # Rule for dlopen'able C objects + %.la : %.c +- $(LIBTOOL) --mode=compile $(CC) -c $(CPPFLAGS) $(CFLAGS) $< ++ $(LIBTOOL) --mode=compile --tag=CC $(CC) -c $(CPPFLAGS) $(CFLAGS) $< + $(rep_DL_LD) $(CPPFLAGS) $(CFLAGS) -o $@ $*.lo + + # Build dependancy files from C source files. +--- trunk/intl/Makefile.in ++++ trunk/intl/Makefile.in +@@ -77,7 +77,7 @@ + .c.o: + $(COMPILE) $< + .c.lo: +- $(LIBTOOL) --mode=compile $(COMPILE) $< ++ $(LIBTOOL) --mode=compile --tag=CC $(COMPILE) $< + + INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib + +@@ -92,7 +92,7 @@ + $(RANLIB) $@ + + libintl.la: $(OBJECTS) +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ $(OBJECTS) \ + -version-info 1:0 -rpath $(libdir) + + ../po/cat-id-tbl.$lo: ../po/cat-id-tbl.c $(top_srcdir)/po/$(PACKAGE).pot +--- trunk/rules.mk.sh ++++ trunk/rules.mk.sh +@@ -19,7 +19,7 @@ + # foo.la : foo.lo bar.lo + # \$(rep_DL_LD) link-opts... + +-rep_DL_LD=\$(rep_LIBTOOL) --mode=link \$(CC) -avoid-version -module \ ++rep_DL_LD=\$(rep_LIBTOOL) --mode=link --tag=CC \$(CC) -avoid-version -module \ + -rpath \$(rpath_repcommonexecdir) + + rep_DL_INSTALL=\$(rep_LIBTOOL) --mode=install \$(INSTALL) +@@ -27,6 +27,6 @@ + + # Rule for libtool controlled C objects + %.lo : %.c +- \$(rep_LIBTOOL) --mode=compile \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$< ++ \$(rep_LIBTOOL) --mode=compile --tag=CC \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$< + + EOF +--- trunk/src/Makefile.in ++++ trunk/src/Makefile.in +@@ -56,16 +56,16 @@ + all : librep.la $(DL_OBJS) check-dl rep rep-config rep-remote rep-xgettext .libexec + + librep.la : $(OBJS) $(LIBOBJS) $(ALLOCA) +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) \ + -version-info $(libversion) -export-symbols $(srcdir)/librep.sym \ + -o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS) + + rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + srep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la +- $(LIBTOOL) --mode=link $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ ++ $(LIBTOOL) --mode=link --tag=CC $(CC) -static -export-dynamic $(CPPFLAGS) $(CFLAGS) -o $@ \ + $(REP_OBJS) librep.la $(EXTRA_LIBOBJS) $(LIBS) $(GMP_LIBS) + + rep-remote : rep-remote.c +@@ -132,7 +132,7 @@ + chmod +x $@ + + repdoc : repdoc.o +- $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o $@ $^ $(GDBM_LIBS) ++ $(LIBTOOL) --mode=link --tag=CC $(CC) $(LDFLAGS) -o $@ $^ $(GDBM_LIBS) + + sdbm.la : $(SDBM_LOBJS) repsdbm.lo + $(rep_DL_LD) $(LDFLAGS) -o $@ $^ diff --git a/dev-libs/librep/librep-0.17_p20070101.ebuild b/dev-libs/librep/librep-0.17_p20070101.ebuild new file mode 100644 index 000000000000..b0c6b6b5fa99 --- /dev/null +++ b/dev-libs/librep/librep-0.17_p20070101.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/librep/librep-0.17_p20070101.ebuild,v 1.1 2007/03/26 18:29:07 truedfx Exp $ + +MY_P=${P%_*} + +WANT_AUTOCONF="latest" +WANT_AUTOMAKE="latest" + +inherit autotools eutils toolchain-funcs multilib + +DESCRIPTION="Shared library implementing a Lisp dialect" +HOMEPAGE="http://librep.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz + mirror://gentoo/${P}.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="readline" + +RDEPEND=">=sys-libs/gdbm-1.8.0 + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND} + sys-apps/texinfo" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${MY_P}.tar.gz + cd "${S}" + epatch "${DISTDIR}"/${P}.patch.bz2 + epatch "${FILESDIR}"/${P}-libtool.patch + epatch "${FILESDIR}"/rep_file_fdopen.patch + eautoreconf || die "eautoreconf failed" +} + +src_compile() { + econf \ + --libexecdir=/usr/$(get_libdir) \ + --without-gmp \ + --without-ffi \ + $(use_with readline) || die "configure failed" + + LC_ALL=C emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO TREE + docinto doc + dodoc doc/* +} |