summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-08-10 06:50:28 +0000
committerJustin Lecher <jlec@gentoo.org>2012-08-10 06:50:28 +0000
commit4bb3b5bd6fcf3c99fc29cc56c3295f9133e675a4 (patch)
tree30ade161437fa298af1c75d44ecc9457394781f3 /dev-tcltk
parentVersion bump for security bug 430718. (diff)
downloadgentoo-2-4bb3b5bd6fcf3c99fc29cc56c3295f9133e675a4.tar.gz
gentoo-2-4bb3b5bd6fcf3c99fc29cc56c3295f9133e675a4.tar.bz2
gentoo-2-4bb3b5bd6fcf3c99fc29cc56c3295f9133e675a4.zip
dev-tcltk/tcl-mccp: Respect CFLAGS, #430528
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tcl-mccp/ChangeLog8
-rw-r--r--dev-tcltk/tcl-mccp/files/tcl-mccp-0.6-flags.patch18
-rw-r--r--dev-tcltk/tcl-mccp/metadata.xml2
-rw-r--r--dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild15
4 files changed, 34 insertions, 9 deletions
diff --git a/dev-tcltk/tcl-mccp/ChangeLog b/dev-tcltk/tcl-mccp/ChangeLog
index d1e2525454b7..dd492bb33998 100644
--- a/dev-tcltk/tcl-mccp/ChangeLog
+++ b/dev-tcltk/tcl-mccp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-tcltk/tcl-mccp
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-mccp/ChangeLog,v 1.4 2007/02/09 02:57:39 flameeyes Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-mccp/ChangeLog,v 1.5 2012/08/10 06:50:27 jlec Exp $
+
+ 10 Aug 2012; Justin Lecher <jlec@gentoo.org> tcl-mccp-0.6.ebuild,
+ +files/tcl-mccp-0.6-flags.patch, metadata.xml:
+ Respect CFLAGS, #430528
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-tcltk/tcl-mccp/files/tcl-mccp-0.6-flags.patch b/dev-tcltk/tcl-mccp/files/tcl-mccp-0.6-flags.patch
new file mode 100644
index 000000000000..b3b563d3d7c1
--- /dev/null
+++ b/dev-tcltk/tcl-mccp/files/tcl-mccp-0.6-flags.patch
@@ -0,0 +1,18 @@
+ Makefile.in | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 956887d..4af7a06 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -91,8 +91,8 @@ lib_LTLIBRARIES = libtcl-mccp.la
+ libtcl_mccp_la_SOURCES = MCCP.c mccpDecompress.c
+ lib_DATA = pkgIndex.tcl
+
+-CFLAGS := -Wall -I $(TCL_PREFIX)/include -lz
+-LIBS := $(TCL_STUB_LIB_SPEC)
++CFLAGS += -Wall -I $(TCL_PREFIX)/include
++LIBS += $(TCL_STUB_LIB_SPEC) -lz
+
+ # FIXME: is this the right way to mofify libdir?
+ libdir = @libdir@/tcl-mccp
diff --git a/dev-tcltk/tcl-mccp/metadata.xml b/dev-tcltk/tcl-mccp/metadata.xml
index d9408d8ab078..815cc916f2b6 100644
--- a/dev-tcltk/tcl-mccp/metadata.xml
+++ b/dev-tcltk/tcl-mccp/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>tcltk</herd>
+ <herd>tcltk</herd>
</pkgmetadata>
diff --git a/dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild b/dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild
index 255651df3c8f..1b194c092ed0 100644
--- a/dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild
+++ b/dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild,v 1.3 2005/08/29 19:49:56 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tcl-mccp/tcl-mccp-0.6.ebuild,v 1.4 2012/08/10 06:50:28 jlec Exp $
+
+EAPI=4
+
+inherit autotools-utils
DESCRIPTION="mccp extension to TCL"
HOMEPAGE="http://tcl-mccp.sf.net/"
@@ -9,10 +13,9 @@ SRC_URI="mirror://sourceforge/tcl-mccp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
-IUSE=""
+IUSE="static-libs"
DEPEND="dev-lang/tcl"
+RDEPEND="${DEPEND}"
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
-}
+PATCHES=( "${FILESDIR}"/${P}-flags.patch )