NetBSD-Bugs archive

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

lib/55901: pkg-config script from libpcap isn't generated correctly



>Number:         55901
>Category:       lib
>Synopsis:       pkg-config script from libpcap isn't generated correctly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 02 08:55:00 +0000 2021
>Originator:     Guy Harris
>Release:        9.0
>Organization:
>Environment:
NetBSD netbsd-90.localdomain 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
If you run

    /usr/bin/pcap-config --libs

it prints

    -L/usr/lib  -l@PACKAGE_NAME@

It *should* print

     -L/usr/lib  -lpcap

Perhaps the build process isn't doing the "replace '@{config-variable-name}@' with the value of the config variable in question" process that it should do when turning pcap-config.in into pcap-config.
>How-To-Repeat:
Run

    /usr/bin/pcap-config --libs

from the command line, and see what its output is.
>Fix:



Home | Main Index | Thread Index | Old Index