summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/screen/screen-4.0.3-r5.ebuild')
-rw-r--r--app-misc/screen/screen-4.0.3-r5.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/app-misc/screen/screen-4.0.3-r5.ebuild b/app-misc/screen/screen-4.0.3-r5.ebuild
index 8d9225874bda..d78dcf176d08 100644
--- a/app-misc/screen/screen-4.0.3-r5.ebuild
+++ b/app-misc/screen/screen-4.0.3-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r5.ebuild,v 1.9 2012/07/10 19:12:22 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/screen/screen-4.0.3-r5.ebuild,v 1.10 2012/11/04 21:51:59 swegener Exp $
EAPI=4
@@ -89,17 +89,20 @@ src_prepare() {
# Allow usernames up to 32 chars
epatch "${FILESDIR}"/${PV}-extend-d_termname-ng2.patch
+ # support CPPFLAGS
+ epatch "${FILESDIR}"/${P}-cppflags.patch
+
# reconfigure
eautoconf
}
src_configure() {
- append-flags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
+ append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
[[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl
- use nethack || append-flags "-DNONETHACK"
- use debug && append-flags "-DDEBUG"
+ use nethack || append-cppflags "-DNONETHACK"
+ use debug && append-cppflags "-DDEBUG"
econf \
--with-socket-dir="${EPREFIX}/var/run/screen" \