summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/dietlibc/Manifest8
-rw-r--r--dev-libs/dietlibc/dietlibc-0.28-r1.ebuild25
2 files changed, 16 insertions, 17 deletions
diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest
index f32b84e..a3f5e88 100644
--- a/dev-libs/dietlibc/Manifest
+++ b/dev-libs/dietlibc/Manifest
@@ -23,10 +23,10 @@ MD5 65a68ed33fd14d52b23a2fe28e06dfc9 files/ssp.c 3065
RMD160 4d1f9aeb0d7d63978b717b7487dfbf17b9fd046a files/ssp.c 3065
SHA256 a35ab2cd397c28d850667d99ca39eab1c521c141c9bb4826fb9c91310406d52c files/ssp.c 3065
DIST dietlibc-0.28.tar.bz2 560540 RMD160 242cbcd5b7e7f341713f587598cddc9d6ee39f59 SHA1 ac67fca8e57f495e9834dfc77f3e3df227488774 SHA256 2b5cba7bad7ef6a4c0e83303c78cbf426e1fe01a5a69aeae801d714d6fdc002c
-EBUILD dietlibc-0.28-r1.ebuild 1617 RMD160 11ecc46791822e0d1f97d6c478e4023be99513b0 SHA1 4ad5e680efb9a873fe0c94c4f43b32cb062cd45b SHA256 db6bd5a071b86fbbebad163fbf73a4b87c777b612212887b12d9466a06271f32
-MD5 0d6789d217cc86b998639b6c08e0fcfe dietlibc-0.28-r1.ebuild 1617
-RMD160 11ecc46791822e0d1f97d6c478e4023be99513b0 dietlibc-0.28-r1.ebuild 1617
-SHA256 db6bd5a071b86fbbebad163fbf73a4b87c777b612212887b12d9466a06271f32 dietlibc-0.28-r1.ebuild 1617
+EBUILD dietlibc-0.28-r1.ebuild 1602 RMD160 006ff1231d6cb86888ae2ec874b3bba472d275e5 SHA1 da09c7f177762b6badcff1c5f6b331158dece6d3 SHA256 1fa328f2e7e82f1a9e385cac8488f66e41aaf5c3cc7626e824246b987e0368db
+MD5 bcea5aab518d6910e6c53cebab1279d9 dietlibc-0.28-r1.ebuild 1602
+RMD160 006ff1231d6cb86888ae2ec874b3bba472d275e5 dietlibc-0.28-r1.ebuild 1602
+SHA256 1fa328f2e7e82f1a9e385cac8488f66e41aaf5c3cc7626e824246b987e0368db dietlibc-0.28-r1.ebuild 1602
MD5 90ac396d9ba3f6f7bb4f6b04ab2221e3 files/digest-dietlibc-0.28-r1 244
RMD160 2a19556861e654340f9185478ea607b86ad04e8c files/digest-dietlibc-0.28-r1 244
SHA256 6ec1db8d4f38e9f0f31e143bbf5ca22eb82fba0426d80774e90d10004d63cba4 files/digest-dietlibc-0.28-r1 244
diff --git a/dev-libs/dietlibc/dietlibc-0.28-r1.ebuild b/dev-libs/dietlibc/dietlibc-0.28-r1.ebuild
index 095763d..3470bc4 100644
--- a/dev-libs/dietlibc/dietlibc-0.28-r1.ebuild
+++ b/dev-libs/dietlibc/dietlibc-0.28-r1.ebuild
@@ -15,17 +15,6 @@ IUSE="debug pie"
DEPEND=""
-pkg_setup() {
- use hppa && strip-unsupported-flags
- if use pie ; then
- einfo "Appending -fPIE to CFLAGS"
- append-flags -fPIE
- else
- einfo "Adding -fno-pie to CFLAGS"
- append-flags -fno-pie
- fi
-}
-
src_unpack() {
unpack ${A}
cd "${S}"
@@ -38,14 +27,24 @@ src_unpack() {
cp "${FILESDIR}"/ssp.c "${S}"/lib/ || die "Failed to copy ssp.c into lib for compile"
epatch "${FILESDIR}"/dietlibc-0.26-ssp.patch
- replace-sparc64-flags #45716
-
# Fix for not available gcc option on hppa (20 Jul 2005) KillerFox
epatch "${FILESDIR}"/dietlibc-0.28-Makefile.patch
}
src_compile() {
local make_opt=""
+
+ use hppa && strip-unsupported-flags
+ if use pie ; then
+ einfo "Appending -fPIE to CFLAGS"
+ append-flags -fPIE
+ else
+ einfo "Adding -fno-pie to CFLAGS"
+ append-flags -fno-pie
+ fi
+
+ replace-sparc64-flags #45716
+
use debug && make_opt="DEBUG=1"
emake CFLAGS="${CFLAGS}" ${make_opt} || die "emake failed"
}