summaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authoradam <adam>2013-08-04 16:06:21 +0000
committeradam <adam>2013-08-04 16:06:21 +0000
commitb1bf3a4b021b8f077a7f7876a3777219932f8f7e (patch)
tree790ec6b5fc6903350d8590b7f797dd7e1dcbd6fa /graphics/inkscape
parentb7285694529f39f26ed27c5ac29bb6ac899cbf7f (diff)
downloadpkgsrc-b1bf3a4b021b8f077a7f7876a3777219932f8f7e.tar.gz
Fix building on Darwin/OS X
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/Makefile5
-rw-r--r--graphics/inkscape/distinfo3
-rw-r--r--graphics/inkscape/patches/patch-src_Makefile.in15
3 files changed, 21 insertions, 2 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index 21eacef5bde..407f5bb36a6 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2013/06/06 12:54:31 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2013/08/04 16:06:21 adam Exp $
DISTNAME= inkscape-0.48.4
PKGREVISION= 10
@@ -45,6 +45,9 @@ CHECK_INTERPRETER_SKIP+= share/inkscape/extensions/*.py
# XXX I don't see where this is used
CHECK_INTERPRETER_SKIP+= share/inkscape/extensions/simplepath.rb
+# XXX these libraries are not auto-detected, at least on Darwin
+LDFLAGS.Darwin= -lfontconfig -lpangoft2-1.0
+
PKG_OPTIONS_VAR= PKG_OPTIONS.inkscape
PKG_SUPPORTED_OPTIONS= gnome
PKG_SUGGESTED_OPTIONS= gnome
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo
index 51671a41f20..945a9b56105 100644
--- a/graphics/inkscape/distinfo
+++ b/graphics/inkscape/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.46 2013/03/28 21:43:07 joerg Exp $
+$NetBSD: distinfo,v 1.47 2013/08/04 16:06:21 adam Exp $
SHA1 (inkscape-0.48.4.tar.bz2) = 5f26f6ad191d1e7c2a9fb69a438722beb172224c
RMD160 (inkscape-0.48.4.tar.bz2) = b089ced7694a9803fac8588d93e7e6239c71d3e8
@@ -17,6 +17,7 @@ SHA1 (patch-ap) = cd29bd178dc2c6c9456bc09d6663d6a25acc7da1
SHA1 (patch-aq) = dd307f598741cd5f0ff35eb06dff7c685752a979
SHA1 (patch-src_2geom_basic-intersection.cpp) = 743b13293191a74d4c0c22231e5ed7866219dfee
SHA1 (patch-src_2geom_solve-bezier-parametric.cpp) = 71cca994451b1e7d5aba625600089d1e4a47888e
+SHA1 (patch-src_Makefile.in) = 4c07142f3a554a01d4c2b352df27c0a83ac4352b
SHA1 (patch-src_color-profile.cpp) = 14932b25ed333925518d5140b3691a29e155cd9a
SHA1 (patch-src_display_nr-filter-gaussian.cpp) = 344109eb4360560bfe8481b25588ef37e5140135
SHA1 (patch-src_dom_io_domstream.cpp) = 6b525b8e730e4497afdf1da0ae27f0dc69bfad40
diff --git a/graphics/inkscape/patches/patch-src_Makefile.in b/graphics/inkscape/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..9842dc21293
--- /dev/null
+++ b/graphics/inkscape/patches/patch-src_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2013/08/04 16:06:21 adam Exp $
+
+--export-dynamic gives an error on OS X.
+
+--- src/Makefile.in.orig 2012-12-15 16:56:07.000000000 +0000
++++ src/Makefile.in
+@@ -3014,7 +3015,7 @@ DISTCLEANFILES = \
+ libinkscape_a_SOURCES = $(ink_common_sources)
+ inkscape_LDADD = $(all_libs)
+ @PLATFORM_OSX_FALSE@inkscape_LDFLAGS = -Wl,--export-dynamic $(kdeldflags) $(mwindows)
+-@PLATFORM_OSX_TRUE@inkscape_LDFLAGS = --export-dynamic $(kdeldflags) $(mwindows)
++@PLATFORM_OSX_TRUE@inkscape_LDFLAGS = $(kdeldflags) $(mwindows)
+ inkview_LDADD = $(all_libs)
+ inkview_LDFLAGS = $(mwindows)
+