summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Węgliński <cla@gentoo.org>2010-01-26 11:46:22 +0000
committerDawid Węgliński <cla@gentoo.org>2010-01-26 11:46:22 +0000
commit531f038a4962e937c323156b0dfe55d931a8fbf0 (patch)
treef8a5b9aa09f04248555cdee11f7700531900e728 /www-client/netrik
parentFix license, bug 302223. (diff)
downloadgentoo-2-531f038a4962e937c323156b0dfe55d931a8fbf0.tar.gz
gentoo-2-531f038a4962e937c323156b0dfe55d931a8fbf0.tar.bz2
gentoo-2-531f038a4962e937c323156b0dfe55d931a8fbf0.zip
Respect user CFLAGS (bug #2414600)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'www-client/netrik')
-rw-r--r--www-client/netrik/ChangeLog7
-rw-r--r--www-client/netrik/netrik-1.15.6.ebuild10
2 files changed, 13 insertions, 4 deletions
diff --git a/www-client/netrik/ChangeLog b/www-client/netrik/ChangeLog
index 755698dff3dc..8c09c3bbbcba 100644
--- a/www-client/netrik/ChangeLog
+++ b/www-client/netrik/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/netrik
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/ChangeLog,v 1.8 2008/04/21 18:20:22 phreak Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/ChangeLog,v 1.9 2010/01/26 11:46:22 cla Exp $
+
+ 26 Jan 2010; Dawid Węgliński <cla@gentoo.org> netrik-1.15.6.ebuild:
+ Respect user CFLAGS (bug #2414600)
21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
Fix up metadata.xml. If there's no maintainer for the package, the metadata
diff --git a/www-client/netrik/netrik-1.15.6.ebuild b/www-client/netrik/netrik-1.15.6.ebuild
index ce73cebd3947..06e2580d4909 100644
--- a/www-client/netrik/netrik-1.15.6.ebuild
+++ b/www-client/netrik/netrik-1.15.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/netrik-1.15.6.ebuild,v 1.3 2008/03/27 23:30:45 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/netrik/netrik-1.15.6.ebuild,v 1.4 2010/01/26 11:46:22 cla Exp $
DESCRIPTION="A text based web browser with no ssl support."
HOMEPAGE="http://netrik.sourceforge.net/"
@@ -15,6 +15,12 @@ DEPEND=">=sys-libs/ncurses-5.1
>=sys-libs/zlib-1.1.3
nls? ( sys-devel/gettext )"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -r -e /^CFLAGS/s:@CFLAGS@:"${CFLAGS}": -i Makefile.in
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}