pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/inkscape inkscape: Requires 64-bit atomic ope...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5aac81bd2c04
branches:  trunk
changeset: 443837:5aac81bd2c04
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 26 17:02:37 2020 +0000

description:
inkscape: Requires 64-bit atomic operations.

Noticed by John D. Baker on pkgsrc-users.

diffstat:

 graphics/inkscape/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r eb776e3433fc -r 5aac81bd2c04 graphics/inkscape/Makefile
--- a/graphics/inkscape/Makefile        Sat Dec 26 14:37:45 2020 +0000
+++ b/graphics/inkscape/Makefile        Sat Dec 26 17:02:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.221 2020/12/04 20:45:22 nia Exp $
+# $NetBSD: Makefile,v 1.222 2020/12/26 17:02:37 nia Exp $
 
 DISTNAME=      inkscape-1.0.1
 PKGREVISION=   3
@@ -75,6 +75,15 @@
 CMAKE_ARGS+=   -DIntl_INCLUDE_DIR=${BUILDLINK_PREFIX.gettext}/include
 .endif
 
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+=       -march=i586
+CXXFLAGS+=     -march=i586
+.endif
+
+.if ${MACHINE_ARCH} == "powerpc"
+.  include "../../devel/libatomic/buildlink3.mk"
+.endif
+
 # There exists some race condition in create_default_templates.py that
 # makes default.es_MX.svg sometimes not get installed.
 # (gettext translation file dependency not correctly expressed in cmake?)



Home | Main Index | Thread Index | Old Index