pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/png Only use assembler code on i386. Fixes am...
details: https://anonhg.NetBSD.org/pkgsrc/rev/95e5d3e628d0
branches: trunk
changeset: 511787:95e5d3e628d0
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Apr 22 07:07:55 2006 +0000
description:
Only use assembler code on i386. Fixes amd64 build and PR 33331 by Ben Collver.
diffstat:
graphics/png/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 51e5320865b6 -r 95e5d3e628d0 graphics/png/Makefile
--- a/graphics/png/Makefile Sat Apr 22 06:36:28 2006 +0000
+++ b/graphics/png/Makefile Sat Apr 22 07:07:55 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.77 2006/04/17 13:44:46 wiz Exp $
+# $NetBSD: Makefile,v 1.78 2006/04/22 07:07:55 wiz Exp $
DISTNAME= libpng-1.2.9
PKGNAME= ${DISTNAME:S/lib//}
@@ -22,6 +22,12 @@
TEST_TARGET= test
USE_LIBTOOL= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} != "i386"
+CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE
+.endif
+
SUBST_CLASSES+= rpathfix
SUBST_FILES.rpathfix= scripts/libpng-config.in
SUBST_MESSAGE.rpathfix= Adding rpath to libpng-config.
Home |
Main Index |
Thread Index |
Old Index