diff options
author | tron <tron@pkgsrc.org> | 2008-12-17 12:49:51 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2008-12-17 12:49:51 +0000 |
commit | e802ba65a231b0d829c15fd1d6e9a68fb7fcb5b8 (patch) | |
tree | ab3c376384181ae64d7b3c065a3f58c4830af9de /lang/python25 | |
parent | 230d0308794288c7409e284dac7214424d10e90a (diff) | |
download | pkgsrc-e802ba65a231b0d829c15fd1d6e9a68fb7fcb5b8.tar.gz |
Remove "-Wno-long-double" from the Darwin C compiler flags as suggested
by Chris Herborth in PR pkg/39425. This is somewhat cleaner than using
buildlink3 to do the same job.
Diffstat (limited to 'lang/python25')
-rw-r--r-- | lang/python25/Makefile | 4 | ||||
-rw-r--r-- | lang/python25/distinfo | 4 | ||||
-rw-r--r-- | lang/python25/patches/patch-al | 6 |
3 files changed, 6 insertions, 8 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile index 57bcb9af74a..f5f14f93728 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2008/12/16 15:50:57 tron Exp $ +# $NetBSD: Makefile,v 1.11 2008/12/17 12:49:51 tron Exp $ DISTNAME= Python-2.5.2 PKGNAME= python25-2.5.2 @@ -134,8 +134,6 @@ PLIST.no-nis= yes MAKE_ENV+= PY_BDB_TRANSFORM=${BUILDLINK_TRANSFORM:Q} .endif -BUILDLINK_TRANSFORM+= rm:-Wno-long-double - PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q} TEST_TARGET= test diff --git a/lang/python25/distinfo b/lang/python25/distinfo index 93e0f482fc4..7094cc81531 100644 --- a/lang/python25/distinfo +++ b/lang/python25/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2008/08/30 10:02:33 tron Exp $ +$NetBSD: distinfo,v 1.7 2008/12/17 12:49:51 tron Exp $ SHA1 (Python-2.5.2.tar.bz2) = 4755d212f50af704c20224a6966e23acc5aea60f RMD160 (Python-2.5.2.tar.bz2) = b23b02739833e6730799c5866e2b77aae884b63f @@ -13,7 +13,7 @@ SHA1 (patch-ah) = 98e9fa55c2af38d8032398cae693492c199dc5fa SHA1 (patch-ai) = a89bee00860910f53a23b1c670d9c091846a03c1 SHA1 (patch-aj) = a75d680a6b8b1ad3c9222dcb841f4fb10db6d16d SHA1 (patch-ak) = 948362c15ad59abeef46971f9b870b70655a62c7 -SHA1 (patch-al) = 645b68197ffaa314a290206c06b96de25f098756 +SHA1 (patch-al) = 85063c81a98de221eb5357aa2a0b172feb3ed950 SHA1 (patch-am) = 8968853066d2d1a4f76a7ee4ce328ba372d19666 SHA1 (patch-an) = 17b4e17b3b562c29a050e9bb20447084ce82b8ab SHA1 (patch-ao) = 9bbd5561c010e0a1ab8e0a70d27a5f77fd2089d2 diff --git a/lang/python25/patches/patch-al b/lang/python25/patches/patch-al index dc5fbbe37fc..3798a0e1ad9 100644 --- a/lang/python25/patches/patch-al +++ b/lang/python25/patches/patch-al @@ -1,4 +1,4 @@ -$NetBSD: patch-al,v 1.3 2008/06/27 20:08:20 wiz Exp $ +$NetBSD: patch-al,v 1.4 2008/12/17 12:49:51 tron Exp $ --- configure.orig 2008-02-13 13:17:17.000000000 -0600 +++ configure @@ -43,9 +43,9 @@ $NetBSD: patch-al,v 1.3 2008/06/27 20:08:20 wiz Exp $ - BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd" + if [[ `/usr/bin/arch` = 'ppc' ]] + then -+ BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common" ++ BASECFLAGS="$BASECFLAGS -no-cpp-precomp -mno-fused-madd -fno-common" + else -+ BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -fno-common" ++ BASECFLAGS="$BASECFLAGS -no-cpp-precomp -fno-common" + fi if test "${enable_universalsdk}"; then BASECFLAGS="-arch ppc -arch i386 -isysroot ${UNIVERSALSDK} ${BASECFLAGS}" |