diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-09-18 16:49:44 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-09-18 16:49:44 +0000 |
commit | 91df63e7d346c5049b5125e30941003e03e34f4c (patch) | |
tree | a4c9653ea3eda7170d87967286e5501abcf85075 /app-misc/boxes | |
parent | sparc stable wrt #321493 (diff) | |
download | historical-91df63e7d346c5049b5125e30941003e03e34f4c.tar.gz historical-91df63e7d346c5049b5125e30941003e03e34f4c.tar.bz2 historical-91df63e7d346c5049b5125e30941003e03e34f4c.zip |
Respecting LDFLAGS, 337632
Package-Manager: portage-2.2_rc83/cvs/Linux x86_64
Diffstat (limited to 'app-misc/boxes')
-rw-r--r-- | app-misc/boxes/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/boxes/Manifest | 14 | ||||
-rw-r--r-- | app-misc/boxes/boxes-1.1-r1.ebuild | 32 | ||||
-rw-r--r-- | app-misc/boxes/files/1.1-Makefile.patch | 57 |
4 files changed, 110 insertions, 3 deletions
diff --git a/app-misc/boxes/ChangeLog b/app-misc/boxes/ChangeLog index 2ea08197f20e..cf5594ae0627 100644 --- a/app-misc/boxes/ChangeLog +++ b/app-misc/boxes/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/boxes -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/ChangeLog,v 1.22 2009/08/20 03:39:08 darkside Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/ChangeLog,v 1.23 2010/09/18 16:49:44 jlec Exp $ + +*boxes-1.1-r1 (18 Sep 2010) + + 18 Sep 2010; Justin Lecher <jlec@gentoo.org> +files/1.1-Makefile.patch, + +boxes-1.1-r1.ebuild: + Respecting LDFLAGS, 337632 20 Aug 2009; Jeremy Olexa <darkside@gentoo.org> -files/boxes-1.0.1-Makefile.patch, -files/boxes-1.0.1-flex.patch: diff --git a/app-misc/boxes/Manifest b/app-misc/boxes/Manifest index 106a0e8dd45c..9827fa6729cf 100644 --- a/app-misc/boxes/Manifest +++ b/app-misc/boxes/Manifest @@ -1,5 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX 1.1-Makefile.patch 1542 RMD160 16704a13c9cb8282d9a771fd6e83abf92e3b3657 SHA1 f362eab460d5b8d8f2dbc7256cab375919bcb20d SHA256 aba911fdc720aba1196b527f77dcd3c7c63a530bba79ed6e997ef44dd92fc58e AUX boxes-1.1-Makefile.patch 1455 RMD160 19bd08d2f0ceeb97fc7ce046f76cd4d6f75d6388 SHA1 7a60d9d80baba5ff588dbf414d44b605b01269ca SHA256 9671c3408375b70aee1eb0f3adac2ed549c1f33b61a42373759d4646857c62bf DIST boxes-1.1.src.tar.gz 138279 RMD160 40fb3eb5123fc60ec3e270f1dd1d2d9f31f7f900 SHA1 1fd6e875e9b3c84f2a71f6df73d9eddb37d11c93 SHA256 c9f931fc9f8e0aeadb370518e3e66f1cbfa956ba7817bcb8f701630f70b711e3 +EBUILD boxes-1.1-r1.ebuild 768 RMD160 86386e6171b91817be6fdba82f40d452026f23e6 SHA1 18ffecca531db81e4e57052b3df7d3bec5017d69 SHA256 fdb4a3acf85bbdd35eea9abfd3aadd065f0f61b3864034aa96885ef83b177f20 EBUILD boxes-1.1.ebuild 766 RMD160 2a21d6de6eb32d719fcb734e5f3c13caa9c1c0c2 SHA1 f2489eaad0462d6581363feb3a0a589d4f0b8e40 SHA256 36f642cbe42ea6aa24022f668f8d95fa173796ab18b694ac39afb32bab1dfa5c -MISC ChangeLog 2777 RMD160 9052d3a3fc9bb9f0939e52ceef96301ee809739a SHA1 8c522a527cd9561c1cd51884be58562246d91eab SHA256 0d1a2216cdad1b52a2dfcb542500d02064364d5dbb9a9a1e198377d5f7fa274b +MISC ChangeLog 2930 RMD160 6c6f63e1bf18cd9a38fdef0709f50b556b389a47 SHA1 66c4bd65ec56b910489d5bed375e0fc6827ebcfd SHA256 a6ea684c269168f1807436eb14aada33d739448af76d951647863d62e37182dc MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkyU7a0ACgkQgAnW8HDreRZaogCdFMCYX5EkANjRwUB+9Ag0uuk+ +4oUAn098O+ImB2QRQ52eZ7bicjibAtQK +=CzGn +-----END PGP SIGNATURE----- diff --git a/app-misc/boxes/boxes-1.1-r1.ebuild b/app-misc/boxes/boxes-1.1-r1.ebuild new file mode 100644 index 000000000000..4ffc058ab998 --- /dev/null +++ b/app-misc/boxes/boxes-1.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/boxes-1.1-r1.ebuild,v 1.1 2010/09/18 16:49:44 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="Draw any kind of boxes around your text" +HOMEPAGE="http://boxes.thomasjensen.com/" +SRC_URI="http://boxes.thomasjensen.com/download/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-Makefile.patch +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install() { + dobin src/boxes || die + doman doc/boxes.1 || die + dodoc README || die + insinto /usr/share/boxes + doins boxes-config || die +} diff --git a/app-misc/boxes/files/1.1-Makefile.patch b/app-misc/boxes/files/1.1-Makefile.patch new file mode 100644 index 000000000000..4f4ddac58b3b --- /dev/null +++ b/app-misc/boxes/files/1.1-Makefile.patch @@ -0,0 +1,57 @@ +diff --git a/Makefile b/Makefile +index 79dda53..71f8d54 100644 +--- a/Makefile ++++ b/Makefile +@@ -73,7 +73,7 @@ + + + # The following line (GLOBALCONF) is the only line you should need to edit! +-GLOBALCONF = /usr/share/boxes ++GLOBALCONF = /usr/share/boxes/boxes-config + BVERSION = 1.1 + + SNAPFILE = boxes-SNAP-$(shell date +%Y%m%d) +diff --git a/src/Makefile b/src/Makefile +index 7cfab9f..9ed467b 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -86,8 +86,7 @@ + LEX = flex + YACC = bison + CC = gcc +-CFLAGS = -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL) +-LDFLAGS = -Lregexp ++CFLAGS += -ansi -I. -Iregexp $(CFLAGS_ADDTL) + + GEN_HDR = parser.h + GEN_SRC = parser.c lex.yy.c +@@ -106,14 +105,13 @@ ALL_OBJ = $(GEN_SRC:.c=.o) $(ORIG_NORM:.c=.o) + + + build: +- $(MAKE) CFLAGS_ADDTL=-O boxes +- strip boxes ++ $(MAKE) boxes + debug: + $(MAKE) CFLAGS_ADDTL=-g boxes + + boxes: $(ALL_OBJ) + $(MAKE) -C regexp CC=$(CC) libregexp.a +- $(CC) $(LDFLAGS) $(ALL_OBJ) -o boxes -lregexp ++ $(CC) $(LDFLAGS) $(ALL_OBJ) -o boxes -Lregexp -lregexp + + boxes.h: + @echo File boxes.h not found or not current. Please run make in the parent directory. +diff --git a/src/regexp/Makefile b/src/regexp/Makefile +index 0bd0ace..53966c9 100644 +--- a/src/regexp/Makefile ++++ b/src/regexp/Makefile +@@ -42,7 +42,7 @@ + #============================================================================ + + +-CFLAGS = -O -I. $(CFLAGS_ADDTL) ++CFLAGS += -I. $(CFLAGS_ADDTL) + + ALL_CL = regexp/regexp.c regexp/regsub.c + C_SRC = $(notdir $(ALL_CL)) |