NetBSD Problem Report #40735
From www@NetBSD.org Tue Feb 24 13:16:11 2009
Received: from mail.netbsd.org (mail.netbsd.org [126.96.36.199])
by www.NetBSD.org (Postfix) with ESMTP id 495D663C1C2
for <email@example.com>; Tue, 24 Feb 2009 13:16:11 +0000 (UTC)
Date: Tue, 24 Feb 2009 13:16:11 +0000 (UTC)
Subject: native vs. pkgsrc expat
>Synopsis: native vs. pkgsrc expat
>Arrival-Date: Tue Feb 24 13:20:00 +0000 2009
>Originator: Jörn Clausen
University of Bielefeld
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc
On OpenSolaris 11, expat seems to be considered a native package. When X11_TYPE is set to "modular" and PREFER_PKGSRC is defined (in the current case it contains "zlib"), the definition of PREFER_PKGSRC in mk/defaults/mk.conf (containing expat) is overridden. This causes devel/apr0 to fail:
checking for Expat in /usr... no
configure: error: Expat was not found (or recognized) in "/usr"
Installing textproc/expat manually or adding it to PREFER_PKGSRC solves this issue.
I am unsure, what the real problem is:
- The pkgsrc guide allows to define PREFER_PKGSRC, but fails to mention that under certain conditions, it already contains some defaults. Maybe it should suggest a syntax that appends packages to a possibly already defined list.
- textproc/expat/builtin.mk checks for the presence of a native expat, which then does not satisfy the requirements of devel/apr0. Maybe the test is not sufficient?
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.