diff options
author | nia <nia@pkgsrc.org> | 2020-12-26 17:02:37 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-12-26 17:02:37 +0000 |
commit | df8ca73ccb892213390dfba992085f01130723f7 (patch) | |
tree | a4f0549ce18ad90873a1744af375c517e8589c4c | |
parent | 4425e63547a8c74884226fc4bca9a7ae2ef99f46 (diff) | |
download | pkgsrc-df8ca73ccb892213390dfba992085f01130723f7.tar.gz |
inkscape: Requires 64-bit atomic operations.
Noticed by John D. Baker on pkgsrc-users.
-rw-r--r-- | graphics/inkscape/Makefile | 11 |
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?) |