pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48520: libaudiofile is installed with incorrect man pages



>Number:         48520
>Category:       pkg
>Synopsis:       libaudiofile is installed with incorrect man pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 14 03:25:00 +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



Home | Main Index | Thread Index | Old Index