pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python25 Remove "-Wno-long-double" from the Darwi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0915b244ed38
branches:  trunk
changeset: 551534:0915b244ed38
user:      tron <tron%pkgsrc.org@localhost>
date:      Wed Dec 17 12:49:51 2008 +0000

description:
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:

 lang/python25/Makefile         |  4 +---
 lang/python25/distinfo         |  4 ++--
 lang/python25/patches/patch-al |  6 +++---
 3 files changed, 6 insertions(+), 8 deletions(-)

diffs (57 lines):

diff -r cc9bee79971a -r 0915b244ed38 lang/python25/Makefile
--- a/lang/python25/Makefile    Wed Dec 17 11:57:35 2008 +0000
+++ b/lang/python25/Makefile    Wed Dec 17 12:49:51 2008 +0000
@@ -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 @@
 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 -r cc9bee79971a -r 0915b244ed38 lang/python25/distinfo
--- a/lang/python25/distinfo    Wed Dec 17 11:57:35 2008 +0000
+++ b/lang/python25/distinfo    Wed Dec 17 12:49:51 2008 +0000
@@ -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-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 -r cc9bee79971a -r 0915b244ed38 lang/python25/patches/patch-al
--- a/lang/python25/patches/patch-al    Wed Dec 17 11:57:35 2008 +0000
+++ b/lang/python25/patches/patch-al    Wed Dec 17 12:49:51 2008 +0000
@@ -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 @@
 -          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}"



Home | Main Index | Thread Index | Old Index