public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-libs/dietlibc: dietlibc-0.33_pre20090721.ebuild dietlibc-0.33_pre20100626.ebuild ChangeLog
@ 2010-06-26  6:06 Benedikt Boehm (hollow)
  0 siblings, 0 replies; only message in thread
From: Benedikt Boehm (hollow) @ 2010-06-26  6:06 UTC (permalink / raw
  To: gentoo-commits

hollow      10/06/26 06:06:55

  Modified:             dietlibc-0.33_pre20090721.ebuild ChangeLog
  Added:                dietlibc-0.33_pre20100626.ebuild
  Log:
  fix -nopie wrt #325539
  (Portage version: 2.2_rc67/cvs/Linux i686)

Revision  Changes    Path
1.3                  dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild?r1=1.2&r2=1.3

Index: dietlibc-0.33_pre20090721.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- dietlibc-0.33_pre20090721.ebuild	24 Aug 2009 15:42:30 -0000	1.2
+++ dietlibc-0.33_pre20090721.ebuild	26 Jun 2010 06:06:55 -0000	1.3
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild,v 1.2 2009/08/24 15:42:30 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20090721.ebuild,v 1.3 2010/06/26 06:06:55 hollow Exp $
 
 inherit eutils flag-o-matic toolchain-funcs
 
@@ -31,7 +31,10 @@
 	# Makefile does not append CFLAGS
 	append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
 		-Wmissing-prototypes -Wmissing-declarations -Wno-switch \
-		-Wno-unused -Wredundant-decls -nopie
+		-Wno-unused -Wredundant-decls
+
+	# only use -nopie on archs that support it
+	gcc-specs-pie && append-flags -nopie
 }
 
 src_compile() {



1.81                 dev-libs/dietlibc/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.81&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?rev=1.81&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/ChangeLog?r1=1.80&r2=1.81

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -r1.80 -r1.81
--- ChangeLog	24 Aug 2009 15:42:30 -0000	1.80
+++ ChangeLog	26 Jun 2010 06:06:55 -0000	1.81
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/dietlibc
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.80 2009/08/24 15:42:30 hollow Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.81 2010/06/26 06:06:55 hollow Exp $
+
+*dietlibc-0.33_pre20100626 (26 Jun 2010)
+
+  26 Jun 2010; Benedikt Böhm <hollow@gentoo.org>
+  dietlibc-0.33_pre20090721.ebuild, +dietlibc-0.33_pre20100626.ebuild:
+  fix -nopie wrt #325539
 
   24 Aug 2009; Benedikt Böhm <hollow@gentoo.org>
   -dietlibc-0.32_pre20081116.ebuild, dietlibc-0.33_pre20090721.ebuild:



1.1                  dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild?rev=1.1&content-type=text/plain

Index: dietlibc-0.33_pre20100626.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/dietlibc-0.33_pre20100626.ebuild,v 1.1 2010/06/26 06:06:55 hollow Exp $

inherit eutils flag-o-matic toolchain-funcs

DESCRIPTION="A minimal libc"
HOMEPAGE="http://www.fefe.de/dietlibc/"
SRC_URI="http://bb.xnull.de/projects/dietlibc/dist/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug"

DEPEND=""
RDEPEND=""

DIETHOME=/usr/diet

pkg_setup() {
	# Replace sparc64 related C[XX]FLAGS (see bug #45716)
	use sparc && replace-sparc64-flags

	# gcc-hppa suffers support for SSP, compilation will fail
	use hppa && strip-unsupported-flags

	# debug flags
	use debug && append-flags -g

	# Makefile does not append CFLAGS
	append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \
		-Wmissing-prototypes -Wmissing-declarations -Wno-switch \
		-Wno-unused -Wredundant-decls

	# only use -nopie on archs that support it
	gcc-specs-pie && append-flags -nopie
}

src_compile() {
	emake prefix=${DIETHOME} CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -j1 || die "make failed"
}

src_install() {
	emake prefix=${DIETHOME} DESTDIR="${D}" -j1 install || die "make install failed"
	dobin "${D}"${DIETHOME}/bin/* || die "dobin failed"
	doman "${D}"${DIETHOME}/man/*/* || die "doman failed"
	rm -r "${D}"${DIETHOME}/{man,bin}
	dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-26  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-26  6:06 [gentoo-commits] gentoo-x86 commit in dev-libs/dietlibc: dietlibc-0.33_pre20090721.ebuild dietlibc-0.33_pre20100626.ebuild ChangeLog Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox