NetBSD Problem Report #57048

From www@netbsd.org  Thu Oct  6 09:37:18 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id C66131A923C
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  6 Oct 2022 09:37:17 +0000 (UTC)
Message-Id: <20221006093716.0D9041A923E@mollari.NetBSD.org>
Date: Thu,  6 Oct 2022 09:37:16 +0000 (UTC)
From: adr@sdf.org
Reply-To: adr@sdf.org
To: gnats-bugs@NetBSD.org
Subject: w3m-image can't be built with imlib2
X-Send-Pr-Version: www-1.0

>Number:         57048
>Category:       pkg
>Synopsis:       w3m-image can't be built with imlib2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 06 09:40:00 +0000 2022
>Closed-Date:    Thu Oct 06 21:34:09 +0000 2022
>Last-Modified:  Thu Oct 06 21:35:01 +0000 2022
>Originator:     adr
>Release:        pkgsrc-current Thu Oct  6 09:27:11 UTC 2022
>Organization:
>Environment:
NetBSD npi 9.99.100 NetBSD 9.99.100 (RPI4) #0: Mon Oct  3 12:19:15 UTC 2022  adr@npi:/usr/src/sys/arch/evbarm/compile/RPI4 evbarm

>Description:
W3m-image can't be built with imlib2 support because w3m's Makefile
lacks pkg_config in USE_TOOLS

>How-To-Repeat:
Try to build w3m with imlib2 support

>Fix:
Add pkg_config in USE_TOOLS:
======================================
--- Makefile.common.orig        2022-10-05 13:19:52.449524052 +0000
+++ Makefile.common     2022-10-05 13:20:09.895956052 +0000
@@ -25,7 +25,7 @@
 W3M_PKGVERS=   ${W3M_VERS:S/+git/.0./}

 # For w3mman, xface2xpm, cgi scripts.
-USE_TOOLS+=    perl:run pax
+USE_TOOLS+=    pkg-config perl:run pax

 DOCDIR=                share/doc/w3m

======================================

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 06 Oct 2022 21:34:09 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/57048 CVS commit: pkgsrc/www/w3m
Date: Thu, 6 Oct 2022 21:33:56 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Thu Oct  6 21:33:56 UTC 2022

 Modified Files:
 	pkgsrc/www/w3m: Makefile.common

 Log Message:
 w3m: add pkg-config to tools

 Closes PR 57048 from adr


 To generate a diff of this commit:
 cvs rdiff -u -r1.74 -r1.75 pkgsrc/www/w3m/Makefile.common

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.