Subject: pkg/13240: sane-frontend 1.0.4 fails to configure for gimp
To: None <gnats-bugs@gnats.netbsd.org>
From: Anthony Mallet <anthony.mallet@ficus.yi.org>
List: netbsd-bugs
Date: 06/18/2001 22:43:43
>Number:         13240
>Category:       pkg
>Synopsis:       sane-frontend 1.0.4 fails to configure for gimp
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 18 13:42:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Mallet
>Release:        NetBSD-1.5.1
>Organization:
>Environment:
System: NetBSD ficus 1.5.1 NetBSD 1.5.1 (FICUS) #10: Mon Jun 18 17:00:36 CEST 2001 toto@ficus:/home/src/netbsd-1.5/sys/arch/i386/compile/FICUS i386


>Description:
	sane-frontend-1.0.4 configure script failed to find gimp.h and
gimpfeatures.h and thus failed to compile support for gimp plugin

>How-To-Repeat:
	cd pkgsrc/graphics/sane-frontends
	cvs update -PAd
	make configure

>Fix:
--- Makefile~   Mon Jun 18 22:37:47 2001
+++ Makefile    Mon Jun 18 22:38:36 2001
@@ -27,6 +27,7 @@
 LTCONFIG_OVERRIDE=${WRKSRC}/ltconfig
 
 # -O to work around a bug with -O2 and egcs.
-CFLAGS=                -O -I${LOCALBASE}/include
+CFLAGS=                -O
+CPPFLAGS=      -I${LOCALBASE}/include
 
 .include "../../mk/bsd.pkg.mk"

>Release-Note:
>Audit-Trail:
>Unformatted: