pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/33331: graphics/png fails to build on amd64
The following reply was made to PR pkg/33331; it has been noted by GNATS.
From: Ben Collver <collver%peak.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/33331: graphics/png fails to build on amd64
Date: Fri, 21 Apr 2006 22:57:08 -0700
This workaround does the trick for me:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/png/Makefile,v
retrieving revision 1.77
diff -u -r1.77 Makefile
--- Makefile 17 Apr 2006 13:44:46 -0000 1.77
+++ Makefile 22 Apr 2006 05:56:30 -0000
@@ -28,6 +28,11 @@
SUBST_SED.rpathfix= '/^L_opts=/s|-L\([ ]*[^
]*\)"|${COMPILER_RPATH_FLAG}\1 -L\1"|g'
SUBST_STAGE.rpathfix= pre-configure
+.include "../../mk/bsd.prefs.mk"
+.if (${MACHINE_ARCH} != "i386")
+CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE
+.endif
+
# highly version dependent -- fix up libtool .la file contents, since
# just copying a .la file to a new filename is not enough
# PLIST breakage will show when it needs updating :)
Home |
Main Index |
Thread Index |
Old Index