From 43127708b0eee7fdbe8aa53a2b44898916274701 Mon Sep 17 00:00:00 2001 From: marino Date: Wed, 16 May 2012 22:16:36 +0000 Subject: editors/kdissert: Fix indirect linking (all platforms) Rather than modify this wscript to read the LDFLAGS environment variable, the c++ kdeui library was directly specified for all platforms. --- editors/kdissert/distinfo | 3 ++- editors/kdissert/patches/patch-src_kdissert_wscript_build | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 editors/kdissert/patches/patch-src_kdissert_wscript_build diff --git a/editors/kdissert/distinfo b/editors/kdissert/distinfo index 0461b43b0ac..931980a0837 100644 --- a/editors/kdissert/distinfo +++ b/editors/kdissert/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2009/02/27 19:51:13 drochner Exp $ +$NetBSD: distinfo,v 1.6 2012/05/16 22:16:36 marino Exp $ SHA1 (kdissert-1.0.7.tar.bz2) = 37ecab653b0e5f626036ad847583990c825e5e7e RMD160 (kdissert-1.0.7.tar.bz2) = 2aa78e9423fa3ec8a46c6c53b3cf7c41396b3347 Size (kdissert-1.0.7.tar.bz2) = 501108 bytes SHA1 (patch-ab) = f3444118d50e6001443febbe63419051f8ebdfd7 SHA1 (patch-ac) = a961d66f239bbae8251c78c21fdd482a6dc3382c +SHA1 (patch-src_kdissert_wscript_build) = 849e62a5adcf809ef209f9afae85cbca27a5e279 diff --git a/editors/kdissert/patches/patch-src_kdissert_wscript_build b/editors/kdissert/patches/patch-src_kdissert_wscript_build new file mode 100644 index 00000000000..fa914e7b5ac --- /dev/null +++ b/editors/kdissert/patches/patch-src_kdissert_wscript_build @@ -0,0 +1,12 @@ +$NetBSD: patch-src_kdissert_wscript_build,v 1.1 2012/05/16 22:16:36 marino Exp $ + +--- src/kdissert/wscript_build.orig 2006-10-14 16:20:49.000000000 +0000 ++++ src/kdissert/wscript_build +@@ -6,6 +6,7 @@ obj = bld.create_obj('kde', 'program') + obj.find_sources_in_dirs('. datastruct canvasview gui shell treelistview') + obj.uselib = 'QT KDECORE KIO KPARTS KMDI KDEPRINT' + obj.target = 'kdissert' ++obj.env.appendValue('LINKFLAGS', ['-lkdeui']) + obj.env.appendValue('LINKFLAGS', ['-export-dynamic']) + obj.env.appendValue('CPPFLAGS', ['-trigraphs']) + obj.includes = '. datastruct canvasview gui shell treelistview' -- cgit v1.2.3