ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 92b4cd5: Fix search for pkg-config on FreeBSD.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 21 Aug 2018 06:38:51 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=92b4cd586e179dcf5b17f9f5d4f1dfad48f89b57
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

92b4cd5 by Guy Harris (guy@xxxxxxxxxxxx):

    Fix search for pkg-config on FreeBSD.
    
    1) At least with FreeBSD's "pkg search", the search does *not* do a
    prefix match, so if you look for "pkg-config", you can find packages
    whose name is *not* pkg-config but that has "pkg-config" in the middle
    of the name.  This means that we think we have a "pkg-config" package,
    but we don't, and fail when we try to install it.
    
    So we force a prefix match.
    
    2) FreeBSD 11 doesn't have a "pkg-config" packate, but has a "pkgconf"
    package.  If we don't find "pkg-config", look for "pkgconf".
    
    Change-Id: Iad5ef9d5630981958830c03e4cb90fe2d01ce1d0
    Reviewed-on: https://code.wireshark.org/review/29213
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  76ada76   Remove an unused true_false_string.
     add  92b4cd5   Fix search for pkg-config on FreeBSD.


Summary of changes:
 tools/bsd-setup.sh | 23 ++++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)