NetBSD Problem Report #48520

From www@NetBSD.org  Tue Jan 14 03:23:04 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2438EA646D
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 Jan 2014 03:23:04 +0000 (UTC)
Message-Id: <20140114032302.E06A2A647D@mollari.NetBSD.org>
Date: Tue, 14 Jan 2014 03:23:02 +0000 (UTC)
From: hakan.engvall@gmail.com
Reply-To: hakan.engvall@gmail.com
To: gnats-bugs@NetBSD.org
Subject: libaudiofile is installed with incorrect man pages
X-Send-Pr-Version: www-1.0

>Number:         48520
>Category:       pkg
>Synopsis:       libaudiofile is installed with incorrect man pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 14 03:25:00 +0000 2014
>Closed-Date:    Tue Jan 14 19:38:29 +0000 2014
>Last-Modified:  Tue Jan 14 19:40:01 +0000 2014
>Originator:     Hakan Engvall
>Release:        pkgsrc HEAD, pkgsrc-2013Q4
>Organization:
>Environment:
NetBSD owl.local 6.1_STABLE NetBSD 6.1_STABLE (OWL) #0: Sun Jan 12 15:52:03 EST 2014
>Description:
Libaudiofile's man pages are installed with incorrect ".so" macros, the man section is missing from the argument.
>How-To-Repeat:
Build the package and check e.g. work/audiofile-0.3.6/docs/afGetDataOffset.3. The file contains ".so afGetFrameCount.3".
>Fix:
Add an post-build target to the package's Makefile. For example (modeled after the www/neon package):

post-build:
        cd ${WRKSRC}/docs && \
        for i in af*3; do \
                if grep -q '^.so ' $$i >/dev/null; then \
                        sed -e "s_.so _.so man3/_" $$i > $$i.new && mv $$i.new $$i; \
                fi; \
        done

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 14 Jan 2014 19:38:29 +0000
State-Changed-Why:
Fixed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48520 CVS commit: pkgsrc/audio/libaudiofile
Date: Tue, 14 Jan 2014 19:38:18 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Tue Jan 14 19:38:18 UTC 2014

 Modified Files:
 	pkgsrc/audio/libaudiofile: Makefile

 Log Message:
 Fix .so usage in man pages. From Hakan Engvall in PR 48520.
 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -u -r1.59 -r1.60 pkgsrc/audio/libaudiofile/Makefile

 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.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.