summaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-26 17:02:37 +0000
committernia <nia@pkgsrc.org>2020-12-26 17:02:37 +0000
commitdf8ca73ccb892213390dfba992085f01130723f7 (patch)
treea4f0549ce18ad90873a1744af375c517e8589c4c /graphics/inkscape
parent4425e63547a8c74884226fc4bca9a7ae2ef99f46 (diff)
downloadpkgsrc-df8ca73ccb892213390dfba992085f01130723f7.tar.gz
inkscape: Requires 64-bit atomic operations.
Noticed by John D. Baker on pkgsrc-users.
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index d3836fce5b6..1b48b26994d 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -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 @@ MANCOMPRESSED= yes
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?)