diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-05 21:37:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-02-05 21:37:31 +0000 |
commit | 53ab0abe6e59e040e96f3f81a5541e6408d3b6af (patch) | |
tree | e6f11a9db7ad292ed66da76c5aa86d6c27351ebc /media-gfx/fontforge | |
parent | Version bump (diff) | |
download | gentoo-2-53ab0abe6e59e040e96f3f81a5541e6408d3b6af.tar.gz gentoo-2-53ab0abe6e59e040e96f3f81a5541e6408d3b6af.tar.bz2 gentoo-2-53ab0abe6e59e040e96f3f81a5541e6408d3b6af.zip |
Fix building with USE=-X #205455 by Luu Danh Hieu.
(Portage version: 2.1.4.1)
Diffstat (limited to 'media-gfx/fontforge')
-rw-r--r-- | media-gfx/fontforge/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/fontforge/fontforge-20071210.ebuild | 3 | ||||
-rw-r--r-- | media-gfx/fontforge/fontforge-20080109.ebuild | 8 | ||||
-rw-r--r-- | media-gfx/fontforge/fontforge-20080203.ebuild | 8 |
4 files changed, 21 insertions, 4 deletions
diff --git a/media-gfx/fontforge/ChangeLog b/media-gfx/fontforge/ChangeLog index e90a954e3573..858ecd5df97e 100644 --- a/media-gfx/fontforge/ChangeLog +++ b/media-gfx/fontforge/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/fontforge # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.73 2008/02/04 17:34:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/ChangeLog,v 1.74 2008/02/05 21:37:31 vapier Exp $ + + 05 Feb 2008; Mike Frysinger <vapier@gentoo.org> fontforge-20071210.ebuild, + fontforge-20080109.ebuild, fontforge-20080203.ebuild: + Fix building with USE=-X #205455 by Luu Danh Hieu. *fontforge-20080203 (04 Feb 2008) diff --git a/media-gfx/fontforge/fontforge-20071210.ebuild b/media-gfx/fontforge/fontforge-20071210.ebuild index 4b5f0490f320..7b9051e3f508 100644 --- a/media-gfx/fontforge/fontforge-20071210.ebuild +++ b/media-gfx/fontforge/fontforge-20071210.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20071210.ebuild,v 1.9 2008/01/10 17:49:03 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20071210.ebuild,v 1.10 2008/02/05 21:37:31 vapier Exp $ inherit eutils @@ -31,6 +31,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${P}-parallel-build.patch #202019 epatch "${FILESDIR}"/${P}-noX-nopython-build.patch #202360 + sed -i '3i#undef X_DISPLAY_MISSING' inc/config.h.in || die #205455 } src_compile() { diff --git a/media-gfx/fontforge/fontforge-20080109.ebuild b/media-gfx/fontforge/fontforge-20080109.ebuild index 0a2dd8c4cd5c..8917d174318b 100644 --- a/media-gfx/fontforge/fontforge-20080109.ebuild +++ b/media-gfx/fontforge/fontforge-20080109.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20080109.ebuild,v 1.2 2008/01/10 16:26:30 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20080109.ebuild,v 1.3 2008/02/05 21:37:31 vapier Exp $ DESCRIPTION="postscript font editor and converter" HOMEPAGE="http://fontforge.sourceforge.net/" @@ -24,6 +24,12 @@ RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 ) DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '3i#undef X_DISPLAY_MISSING' inc/config.h.in || die #205455 +} + src_compile() { # no real way of disabling gettext/nls ... use nls || export ac_cv_header_libintl_h=no diff --git a/media-gfx/fontforge/fontforge-20080203.ebuild b/media-gfx/fontforge/fontforge-20080203.ebuild index a7824a57d132..3d34193b16fc 100644 --- a/media-gfx/fontforge/fontforge-20080203.ebuild +++ b/media-gfx/fontforge/fontforge-20080203.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20080203.ebuild,v 1.1 2008/02/04 17:34:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fontforge/fontforge-20080203.ebuild,v 1.2 2008/02/05 21:37:31 vapier Exp $ DESCRIPTION="postscript font editor and converter" HOMEPAGE="http://fontforge.sourceforge.net/" @@ -24,6 +24,12 @@ RDEPEND="gif? ( >=media-libs/giflib-4.1.0-r1 ) DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i '3i#undef X_DISPLAY_MISSING' inc/config.h.in || die #205455 +} + src_compile() { # no real way of disabling gettext/nls ... use nls || export ac_cv_header_libintl_h=no |