Subject: pkg/18336: apache build for Zoularis has wrong db include path
To: None <gnats-bugs@gnats.netbsd.org>
From: None <him@compaq.medien.tecmath.com>
List: netbsd-bugs
Date: 09/19/2002 16:43:51
>Number:         18336
>Category:       pkg
>Synopsis:       apache build for Zoularis has wrong db include path
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 19 07:54:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joachim Koenig-Baltes
>Release:        NetBSD 1.6G
>Organization:
	
>Environment:
System: NetBSD compaq 1.6G NetBSD 1.6G (JOACHIM) #0: Mon Sep 2 07:45:00 PDT 2002
Architecture: i386
Machine: i386
>Description:
build of pkgsrc/www/apache fails on Zoularis due to wrong db2 include path
This is due to a wrong BUILDLINK_PREFIX path for db2, which happens to be
called db instead of db2.
>How-To-Repeat:
cd /usr/pkgsrc/www/apache; bmake
>Fix:
change Makefile line:
CONFIGURE_ENV+=         INCLUDES="-I${BUILDLINK_PREFIX.db2}/include/db2"
to
CONFIGURE_ENV+=         INCLUDES="-I${BUILDLINK_PREFIX.db}/include/db2"

This only affects Zoularis.

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