Subject: pkg/32736: The make file for editors/abiword-plugins needs a tweak to build plugins dependent upon libgsf
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dhgutteridge@sympatico.ca>
List: pkgsrc-bugs
Date: 02/04/2006 23:20:01
>Number:         32736
>Category:       pkg
>Synopsis:       The make file for editors/abiword-plugins needs a tweak to build plugins dependent upon libgsf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 04 23:20:00 +0000 2006
>Originator:     David H. Gutteridge
>Release:        Mostly 3.0 these days
>Organization:
>Environment:
>Description:
There are four plugins in abiword-plugins that require libgsf, right
now they don't compile because it's not included in the buildlink
framework.  I've supplied a patch below that fixes the problem.

(Though I don't know if this is the best way to do it, I'm not a pkgsrc
expert by any means.  Curiously, the README.html document lists that
libgsf is required for abiword, so I'd assumed it would be pulled in
accordingly, but apparently it isn't actually required.)
>How-To-Repeat:
Try compiling abiword-plugins.
>Fix:
--- Makefile~	2006-02-04 00:27:49.000000000 +0000
+++ Makefile	2006-02-04 17:22:18.000000000 +0000
@@ -48,4 +48,6 @@
 CONFIGURE_ARGS+=	--enable-xhtml
 CONFIGURE_ARGS+=	--enable-xsl-fo
 
+.include "../../devel/libgsf/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"