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
NetBSD owl.local 6.1_STABLE NetBSD 6.1_STABLE (OWL) #0: Sun Jan 12 15:52:03 EST 
Libaudiofile's man pages are installed with incorrect ".so" macros, the man 
section is missing from the argument.
Build the package and check e.g. work/audiofile-0.3.6/docs/afGetDataOffset.3. 
The file contains ".so afGetFrameCount.3".
Add an post-build target to the package's Makefile. For example (modeled after 
the www/neon package):

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

Home | Main Index | Thread Index | Old Index