pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/png Add x86_64 to the list of architectures w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/342f0175ed8b
branches:  trunk
changeset: 534538:342f0175ed8b
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Fri Oct 26 03:53:39 2007 +0000

description:
Add x86_64 to the list of architectures which don't require
-DPNG_NO_ASSEMBLER_CODE.  Bump rev.  I've tested png on NetBSD/amd64
with the assembler code and it seems no less functional than NetBSD/i386.

ok'd weeks ago (before freeze)--I forgot to commit it.

diffstat:

 graphics/png/Makefile      |  5 +++--
 graphics/png/buildlink3.mk |  4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 09326f49e4d0 -r 342f0175ed8b graphics/png/Makefile
--- a/graphics/png/Makefile     Fri Oct 26 03:18:15 2007 +0000
+++ b/graphics/png/Makefile     Fri Oct 26 03:53:39 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.94 2007/10/17 20:45:47 wiz Exp $
+# $NetBSD: Makefile,v 1.95 2007/10/26 03:53:39 bjs Exp $
 
 DISTNAME=      libpng-1.2.22
 PKGNAME=       ${DISTNAME:S/lib//}
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libpng/} \
                http://www.libpng.org/pub/png/src/ \
@@ -24,7 +25,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 # keep this in sync with the same code in buildlink3.mk
-.if ${MACHINE_ARCH} != "i386"
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
 CPPFLAGS+=     -DPNG_NO_ASSEMBLER_CODE
 .endif
 
diff -r 09326f49e4d0 -r 342f0175ed8b graphics/png/buildlink3.mk
--- a/graphics/png/buildlink3.mk        Fri Oct 26 03:18:15 2007 +0000
+++ b/graphics/png/buildlink3.mk        Fri Oct 26 03:53:39 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2007/01/03 20:38:46 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2007/10/26 03:53:39 bjs Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 PNG_BUILDLINK3_MK:=    ${PNG_BUILDLINK3_MK}+
@@ -23,7 +23,7 @@
 BUILDLINK_PKGSRCDIR.png?=      ../../graphics/png
 
 # keep this in sync with the same code in Makefile
-.  if ${MACHINE_ARCH} != "i386"
+.  if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
 CPPFLAGS+=     -DPNG_NO_ASSEMBLER_CODE
 .  endif
 .endif # PNG_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index