summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-15 14:33:40 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-15 14:33:40 +0000
commit5373a409c61490fb51a539e45231d6fb25fc074c (patch)
tree5671730fde90fc8aba3c9a216a61d2e540e3eb2b /x11-misc/imake
parentInstalling html at correct place (diff)
downloadgentoo-2-5373a409c61490fb51a539e45231d6fb25fc074c.tar.gz
gentoo-2-5373a409c61490fb51a539e45231d6fb25fc074c.tar.bz2
gentoo-2-5373a409c61490fb51a539e45231d6fb25fc074c.zip
Imported prefix changes, tested by me
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/imake')
-rw-r--r--x11-misc/imake/ChangeLog5
-rw-r--r--x11-misc/imake/imake-1.0.3.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/x11-misc/imake/ChangeLog b/x11-misc/imake/ChangeLog
index e175654e49fb..7bb438a9d026 100644
--- a/x11-misc/imake/ChangeLog
+++ b/x11-misc/imake/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/imake
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/imake/ChangeLog,v 1.27 2010/04/17 13:30:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/imake/ChangeLog,v 1.28 2010/06/15 14:33:40 jlec Exp $
+
+ 15 Jun 2010; Justin Lecher <jlec@gentoo.org> imake-1.0.3.ebuild:
+ Imported prefix changes, tested by me
*imake-1.0.3 (17 Apr 2010)
diff --git a/x11-misc/imake/imake-1.0.3.ebuild b/x11-misc/imake/imake-1.0.3.ebuild
index a2df6db9e210..0e9e8d96403f 100644
--- a/x11-misc/imake/imake-1.0.3.ebuild
+++ b/x11-misc/imake/imake-1.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/imake/imake-1.0.3.ebuild,v 1.1 2010/04/17 13:30:30 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/imake/imake-1.0.3.ebuild,v 1.2 2010/06/15 14:33:40 jlec Exp $
EAPI=3
@@ -8,9 +8,16 @@ XORG_STATIC=no
inherit xorg-2
DESCRIPTION="C preprocessor interface to the make utility"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="x11-misc/xorg-cf-files"
DEPEND="${RDEPEND}
x11-proto/xproto"
+
+src_prepare() {
+ # don't use Sun compilers on Solaris, we want GCC from prefix
+ sed -i -e "1s/^.*$/#if defined(sun)\n# undef sun\n#endif/" \
+ imake.c imakemdep.h
+ xorg-2_src_prepare
+}