summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-01-24 19:12:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-01-24 19:12:50 +0000
commitc845b66ebeb96374047058593fb6197eb74ba131 (patch)
treee90629598d4823ffea9f828267ba0d77b56d5ec6 /x11-libs
parentDemote last commit to USE unicode (diff)
downloadgentoo-2-c845b66ebeb96374047058593fb6197eb74ba131.tar.gz
gentoo-2-c845b66ebeb96374047058593fb6197eb74ba131.tar.bz2
gentoo-2-c845b66ebeb96374047058593fb6197eb74ba131.zip
Use -DXAW_INTERNATIONALIZATION in CFLAGS from xaw3d.pc.in if USE="unicode" is enabled.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/libXaw3d/ChangeLog6
-rw-r--r--x11-libs/libXaw3d/libXaw3d-1.6-r1.ebuild9
2 files changed, 13 insertions, 2 deletions
diff --git a/x11-libs/libXaw3d/ChangeLog b/x11-libs/libXaw3d/ChangeLog
index d6a651495cd3..7c157107632b 100644
--- a/x11-libs/libXaw3d/ChangeLog
+++ b/x11-libs/libXaw3d/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/libXaw3d
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXaw3d/ChangeLog,v 1.4 2012/01/24 19:07:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXaw3d/ChangeLog,v 1.5 2012/01/24 19:12:50 ssuominen Exp $
+
+ 24 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> libXaw3d-1.6-r1.ebuild:
+ Use -DXAW_INTERNATIONALIZATION in CFLAGS from xaw3d.pc.in if USE="unicode" is
+ enabled.
24 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> libXaw3d-1.6-r1.ebuild:
Demote last commit to USE unicode
diff --git a/x11-libs/libXaw3d/libXaw3d-1.6-r1.ebuild b/x11-libs/libXaw3d/libXaw3d-1.6-r1.ebuild
index 90e7a8fe7208..9a4d401a302c 100644
--- a/x11-libs/libXaw3d/libXaw3d-1.6-r1.ebuild
+++ b/x11-libs/libXaw3d/libXaw3d-1.6-r1.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/x11-libs/libXaw3d/libXaw3d-1.6-r1.ebuild,v 1.2 2012/01/24 19:07:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libXaw3d/libXaw3d-1.6-r1.ebuild,v 1.3 2012/01/24 19:12:50 ssuominen Exp $
EAPI=4
@@ -30,3 +30,10 @@ pkg_setup() {
xorg-2_pkg_setup
}
+
+src_prepare() {
+ use unicode && \
+ sed -i -e 's/Cflags:/& -DXAW_INTERNATIONALIZATION/' xaw3d.pc.in
+
+ xorg-2_src_prepare
+}