diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-08-08 14:38:33 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-08-08 14:38:33 +0000 |
commit | 8efc7fd700d293990f0f92baadb1eb1f2baa7502 (patch) | |
tree | c5da883ac750f04630e4ca7418978e025a21b25f /dev-tex/dvipost | |
parent | x86 stable wrt security bug #301828 (diff) | |
download | gentoo-2-8efc7fd700d293990f0f92baadb1eb1f2baa7502.tar.gz gentoo-2-8efc7fd700d293990f0f92baadb1eb1f2baa7502.tar.bz2 gentoo-2-8efc7fd700d293990f0f92baadb1eb1f2baa7502.zip |
Respecting LDFLAGS
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/dvipost')
-rw-r--r-- | dev-tex/dvipost/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tex/dvipost/dvipost-1.1-r1.ebuild | 39 | ||||
-rw-r--r-- | dev-tex/dvipost/files/1.1-ldflags.patch | 13 |
3 files changed, 60 insertions, 2 deletions
diff --git a/dev-tex/dvipost/ChangeLog b/dev-tex/dvipost/ChangeLog index af77ba2af58b..9a829f839fda 100644 --- a/dev-tex/dvipost/ChangeLog +++ b/dev-tex/dvipost/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-tex/dvipost -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvipost/ChangeLog,v 1.23 2008/06/12 22:48:41 aballier Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvipost/ChangeLog,v 1.24 2010/08/08 14:38:32 jlec Exp $ + +*dvipost-1.1-r1 (08 Aug 2010) + + 08 Aug 2010; Justin Lecher <jlec@gentoo.org> +files/1.1-ldflags.patch, + +dvipost-1.1-r1.ebuild: + Respecting LDFLAGS 12 Jun 2008; Alexis Ballier <aballier@gentoo.org> dvipost-1.1.ebuild: no need to depend on virtual/tetex here, bug #225995 diff --git a/dev-tex/dvipost/dvipost-1.1-r1.ebuild b/dev-tex/dvipost/dvipost-1.1-r1.ebuild new file mode 100644 index 000000000000..d304e225374b --- /dev/null +++ b/dev-tex/dvipost/dvipost-1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/dvipost/dvipost-1.1-r1.ebuild,v 1.1 2010/08/08 14:38:32 jlec Exp $ + +EAPI="2" + +inherit latex-package eutils toolchain-funcs + +DESCRIPTION="post processor for dvi files" +HOMEPAGE="http://efeu.cybertec.at/index_en.html" +SRC_URI="http://efeu.cybertec.at/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +src_prepare() { + tc-export CC + epatch "${FILESDIR}"/${PV}-ldflags.patch +} + +src_compile() { + emake || die +} + +src_install() { + dobin dvipost || die + dosym dvipost /usr/bin/pptex || die + dosym dvipost /usr/bin/pplatex || die + + insinto /usr/share/texmf/tex/latex/misc/ + insopts -m0644 + doins dvipost.sty || die + + dodoc dvipost.doc CHANGELOG NOTES README || die + dohtml dvipost.html || die + newman "${S}"/dvipost.man dvipost.1 || die +} diff --git a/dev-tex/dvipost/files/1.1-ldflags.patch b/dev-tex/dvipost/files/1.1-ldflags.patch new file mode 100644 index 000000000000..b8711b500268 --- /dev/null +++ b/dev-tex/dvipost/files/1.1-ldflags.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile.in b/Makefile.in +index cd4758b..bb0af2a 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -74,7 +74,7 @@ clean::; rm -f main.o + + OBJ= main.o $(BASE:.c=.o) $(DVI:.c=.o) + +-$(NAME): $(OBJ); $(CC) $(CFLAGS) -o $@ $(OBJ) ++$(NAME): $(OBJ); $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OBJ) + + clean::; rm -f $(NAME) + |