pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/inkscape



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Dec 26 17:02:37 UTC 2020

Modified Files:
        pkgsrc/graphics/inkscape: Makefile

Log Message:
inkscape: Requires 64-bit atomic operations.

Noticed by John D. Baker on pkgsrc-users.


To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 pkgsrc/graphics/inkscape/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/inkscape/Makefile
diff -u pkgsrc/graphics/inkscape/Makefile:1.221 pkgsrc/graphics/inkscape/Makefile:1.222
--- pkgsrc/graphics/inkscape/Makefile:1.221     Fri Dec  4 20:45:22 2020
+++ pkgsrc/graphics/inkscape/Makefile   Sat Dec 26 17:02:37 2020
@@ -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?)



Home | Main Index | Thread Index | Old Index