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
commitff889ff28abcca4aea470ee875a4664134cb17b1 (patch)
tree59e0037a9df447ece075b471080cf44fb492829b /www-client/netrik/netrik-1.15.6.ebuild
parentFix license, bug 302223. (diff)
downloadhistorical-ff889ff28abcca4aea470ee875a4664134cb17b1.tar.gz
historical-ff889ff28abcca4aea470ee875a4664134cb17b1.tar.bz2
historical-ff889ff28abcca4aea470ee875a4664134cb17b1.zip
Respect user CFLAGS (bug #2414600)
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'www-client/netrik/netrik-1.15.6.ebuild')
-rw-r--r--www-client/netrik/netrik-1.15.6.ebuild10
1 files changed, 8 insertions, 2 deletions
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"
}