summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-02-20 14:52:42 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-02-20 14:52:42 +0000
commit1fee41d8ee04820a2d0280a4e6e3c58864f034d0 (patch)
tree3748424d1dbb30354177b967f190ac6fd0920f46 /dev-lang
parentheader fix (diff)
downloadhistorical-1fee41d8ee04820a2d0280a4e6e3c58864f034d0.tar.gz
historical-1fee41d8ee04820a2d0280a4e6e3c58864f034d0.tar.bz2
historical-1fee41d8ee04820a2d0280a4e6e3c58864f034d0.zip
Remove -std=c99 from CFLAGS set by configure if we build with gcc-2.95.3.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/nasm/ChangeLog5
-rw-r--r--dev-lang/nasm/Manifest6
-rw-r--r--dev-lang/nasm/nasm-0.98.39.ebuild7
3 files changed, 13 insertions, 5 deletions
diff --git a/dev-lang/nasm/ChangeLog b/dev-lang/nasm/ChangeLog
index 0fd06028c646..24010abbe5f7 100644
--- a/dev-lang/nasm/ChangeLog
+++ b/dev-lang/nasm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/nasm
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.30 2005/02/01 07:16:57 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/ChangeLog,v 1.31 2005/02/20 14:52:42 azarah Exp $
+
+ 20 Feb 2005; Martin Schlemmer <azarah@gentoo.org> nasm-0.98.39.ebuild:
+ Remove -std=c99 from CFLAGS set by configure if we build with gcc-2.95.3.
*nasm-0.98.39 (01 Feb 2005)
diff --git a/dev-lang/nasm/Manifest b/dev-lang/nasm/Manifest
index 80109490bc75..fdea1966dc55 100644
--- a/dev-lang/nasm/Manifest
+++ b/dev-lang/nasm/Manifest
@@ -1,7 +1,7 @@
-MD5 4c640a6da9e6c6f3392337f9a58f0662 ChangeLog 4482
-MD5 3ddbbbea000d6b3323c8ab16a8d997e0 nasm-0.98.39.ebuild 1179
+MD5 0964a1ec9eed0cb823b93b17fb4cb540 nasm-0.98.39.ebuild 1286
+MD5 ac8e4b62f6e0cf26d1f63577ca81abaf ChangeLog 4629
MD5 8524fffd916a234a0fa40149506746ee metadata.xml 738
MD5 b02d051fa9fa416be2221f1fead76203 nasm-0.98.38-r1.ebuild 1281
-MD5 988e60ffeb3fbb254a0b1537789b69bb files/digest-nasm-0.98.38-r1 65
MD5 98c253856c4823fdfe9095d900744ff6 files/digest-nasm-0.98.39 65
+MD5 988e60ffeb3fbb254a0b1537789b69bb files/digest-nasm-0.98.38-r1 65
MD5 0de637127f4fc709e07c5505573c4887 files/0.98.38-overflow.patch 13476
diff --git a/dev-lang/nasm/nasm-0.98.39.ebuild b/dev-lang/nasm/nasm-0.98.39.ebuild
index 82e1e02f9be7..39f8632d6b9c 100644
--- a/dev-lang/nasm/nasm-0.98.39.ebuild
+++ b/dev-lang/nasm/nasm-0.98.39.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.39.ebuild,v 1.1 2005/02/01 07:16:57 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nasm/nasm-0.98.39.ebuild,v 1.2 2005/02/20 14:52:42 azarah Exp $
+
+inherit toolchain-funcs
DESCRIPTION="groovy little assembler"
HOMEPAGE="http://nasm.sourceforge.net/"
@@ -18,6 +20,9 @@ DEPEND="!build? ( dev-lang/perl )
RDEPEND="virtual/libc"
src_compile() {
+ [ "$(gcc-major-version)" -eq "2" ] && \
+ sed -i -e 's:-std=c99::g' ${S}/configure
+
./configure --prefix=/usr || die
if use build; then