diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-02-28 18:37:40 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-02-28 18:37:40 +0000 |
commit | f1b580fb83a5b1cb0f28ddb2b27682ceb88c0002 (patch) | |
tree | 5d6b4f457b918862b750b972528607a2317c1fe2 | |
parent | New ebuild (diff) | |
download | historical-f1b580fb83a5b1cb0f28ddb2b27682ceb88c0002.tar.gz historical-f1b580fb83a5b1cb0f28ddb2b27682ceb88c0002.tar.bz2 historical-f1b580fb83a5b1cb0f28ddb2b27682ceb88c0002.zip |
respect ldflags, bug #209731, thanks Diego
Package-Manager: portage-2.1.4.4
-rw-r--r-- | dev-tex/detex/ChangeLog | 8 | ||||
-rw-r--r-- | dev-tex/detex/Manifest | 10 | ||||
-rw-r--r-- | dev-tex/detex/detex-2.8-r1.ebuild | 41 | ||||
-rw-r--r-- | dev-tex/detex/files/detex-2.8-ldflags.patch | 17 |
4 files changed, 71 insertions, 5 deletions
diff --git a/dev-tex/detex/ChangeLog b/dev-tex/detex/ChangeLog index fc6514788661..4e83720260b4 100644 --- a/dev-tex/detex/ChangeLog +++ b/dev-tex/detex/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-tex/detex # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.20 2008/02/10 16:51:32 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/ChangeLog,v 1.21 2008/02/28 18:37:40 aballier Exp $ + +*detex-2.8-r1 (28 Feb 2008) + + 28 Feb 2008; Alexis Ballier <aballier@gentoo.org> + +files/detex-2.8-ldflags.patch, +detex-2.8-r1.ebuild: + respect ldflags, bug #209731, thanks Diego 10 Feb 2008; Alexis Ballier <aballier@gentoo.org> detex-2.8.ebuild: keyword ~x86-fbsd diff --git a/dev-tex/detex/Manifest b/dev-tex/detex/Manifest index 2cb277fd62b4..5388da0036b9 100644 --- a/dev-tex/detex/Manifest +++ b/dev-tex/detex/Manifest @@ -1,17 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX detex-2.8-ldflags.patch 394 RMD160 0ea6607835d380f4eaac9162460d53d574971266 SHA1 5bb30cb966b855a587449966cb2b377dc867ea8e SHA256 9e281c590c5d328b85b9f1bdc25a4271bb2a454340138b04244c1b613b3b3959 AUX detex-flexbrackets.patch 438 RMD160 b9627e070f205eca8ef355261d234a4f742bf6a5 SHA1 a1c49dccb4e5cfabeac73814e0a5d2f2ed1d442f SHA256 1dc669b1fbc9fdfcaff9157cf91bce1a30bb01678ee63062ee8b20005022ef4e DIST detex-2.7.tar 94720 RMD160 059919ef4d7d16caa6c1a6a13b067ce73e2052c2 SHA1 84b975a57ea199a29a795d699bb92dca0bad42d5 SHA256 cc24ad6f71cb26744442b6bf54f8357a3a162f171c27ca8a6abbc3c2024d0684 DIST detex-2.8.tar 318976 RMD160 983ea90de9e3559317baf4a71de0e8de47863b7d SHA1 57691f8e4dd52cbf632f38abebfd8c3725de019b SHA256 13ad67311f232faa31da9fa8322645c5745e8ed5ab977cc85818154fabd94134 EBUILD detex-2.7.ebuild 1160 RMD160 f8a484d74b2998a1adb30c74ba7f80cdf5cec5e7 SHA1 937c9c0c91f3b582009ac8cbc200c38fa18c5c3b SHA256 77272296da92f7603a124e60ca90b8196acb7ff8b483439651c853753a052b4e +EBUILD detex-2.8-r1.ebuild 1094 RMD160 b7de5197dc43f253ec57368fc827e8ccfa46457b SHA1 223870758f93a6e1bd7e287deabc2604c4932a8d SHA256 75be2c1b14a3080ee3a67296fbd66ac8b48c7d389113200a67933a1686f55ad5 EBUILD detex-2.8.ebuild 1050 RMD160 8c016226026ced19606e412f9f35c01a0e58b9c8 SHA1 f2bf9541d61e44e91fff1cbd58490140e5aee489 SHA256 bcf33e2ae2754d39052081d70c5d6bee705bd662cc73a3d540eaeeea72e5bb1b -MISC ChangeLog 2254 RMD160 a7a1747c92b4795dce9cce99be4a51a7890558dc SHA1 361f881bf7f3a55a5e3e63c2799dd281ab512fa2 SHA256 e9f0fd4b43d198552ee902cc9f5ec3e80203db0bb5ba59087e93338be9b4dfc7 +MISC ChangeLog 2437 RMD160 8f07bb6eaa2aef6fa4e9432234dc81c0631505fe SHA1 6368b7c98e194d04f717b46c27a52bc827015f07 SHA256 4eae28756ab2adf6265b30a774b001f6761da9630450d8ad48d48312c71fa81b MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFHryudvFcC4BYPU0oRAon6AJ9QGuHV/HzGFPISKbAqZrUhadLRHQCbB8jh -2N3jg4/ssFkWlv0XPIRLjTA= -=WmkS +iD8DBQFHxv+RvFcC4BYPU0oRAu++AJ4gzqbBLhPL1wMby7xVUth8xXen7gCfeWh8 +3ORcQdYujKXoFLDT5aqUIIE= +=3WVO -----END PGP SIGNATURE----- diff --git a/dev-tex/detex/detex-2.8-r1.ebuild b/dev-tex/detex/detex-2.8-r1.ebuild new file mode 100644 index 000000000000..d6b2c4c57f35 --- /dev/null +++ b/dev-tex/detex/detex-2.8-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/detex/detex-2.8-r1.ebuild,v 1.1 2008/02/28 18:37:40 aballier Exp $ + +inherit eutils toolchain-funcs + +DESCRIPTION="A filter program that removes the LaTeX (or TeX) control sequences" +HOMEPAGE="http://www.cs.purdue.edu/homes/trinkle/detex/" +SRC_URI="http://www.cs.purdue.edu/homes/trinkle/detex/${P}.tar" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="virtual/libc + sys-devel/flex" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-ldflags.patch" + sed -i \ + -e "s:CFLAGS = -O \${DEFS}:CFLAGS = ${CFLAGS} \${DEFS}:" \ + -e 's:LEX = lex:#LEX = lex:' \ + -e 's:#LEX = flex:LEX = flex:' \ + -e 's:#DEFS += ${DEFS} -DNO_MALLOC_DECL:DEFS += -DNO_MALLOC_DECL:' \ + -e 's:LEXLIB = -ll:LEXLIB = -lfl:' \ + Makefile || die "sed failed" +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + dobin detex || die + dodoc README + doman detex.1l +} diff --git a/dev-tex/detex/files/detex-2.8-ldflags.patch b/dev-tex/detex/files/detex-2.8-ldflags.patch new file mode 100644 index 000000000000..e70c000b0c5b --- /dev/null +++ b/dev-tex/detex/files/detex-2.8-ldflags.patch @@ -0,0 +1,17 @@ +dont ignore ldflags +bug #209731 + + +Index: detex-2.8/Makefile +=================================================================== +--- detex-2.8.orig/Makefile ++++ detex-2.8/Makefile +@@ -104,7 +104,7 @@ D_OBJ = detex.o + all: ${PROGS} + + detex: ${D_OBJ} +- ${CC} ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB} ++ ${CC} $(LDFLAGS) ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB} + + detex.c: + sed -f states.sed detex.l > xxx.l |