Subject: pkg/32622: apache2 build sometimes depends on pkg-config
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: pkgsrc-bugs
Date: 01/25/2006 06:35:00
>Number: 32622
>Category: pkg
>Synopsis: apache2 build sometimes depends on pkg-config
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 25 06:35:00 +0000 2006
>Originator: collver@peak.org
>Release: NetBSD 3.0
>Organization:
>Environment:
System: NetBSD sanctum 3.0 NetBSD 3.0 (SANCTUM) #0: Sun Dec 25 11:35:26 PST 2005 ben@sanctum:/home/ben/src/netbsd/3.0/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
I am trying to build apache2 on some Linux platform, using
PREFER.openssl=pkgsrc. It breaks thanks to line 10896 of
pkgsrc/www/apache2/work/httpd-*/configure:
ap_ssltk_libdep=`pkg-config --libs openssl`
pkgsrc has not installed pkg-config, so this runs the system pkg-config
and lists the wrong libraries.
>How-To-Repeat:
>Fix:
Add a build-time dependency on pkg-config.
Patch configure script to run PREFIX/bin/pkg-config.