Skip to content

[BUG] pkgsrc detection on macOS #2587

Description

@tohruazusagawa

Read the FAQ first

  • I have checked the FAQ but the issue is not covered

Description

I tried to install fastfetch from pkgsrc on macOS, but the package manager detection logic on macOS does not implemented the pkgsrc detection.
I actually tried to modify the source code by porting the pkgsrc detection logic on NetBSD (src/detection/packages/packages_nbsd.c) to macOS, and change the pkgdb path to match the common /opt/pkg bootstrap prefix on macOS, it does work.
I would like to request this issue being fixed, in order to provide pkgsrc detection out-of-box on macOS, without any manual modifications required.
Thank you.

Version used

fastfetch 2.62.1-63 (aarch64)

Bug prevalence

Always

Regression

No

Installation

Package manager

Package manager

pkgsrc

Screenshots

Following is a screenshot of pkgsrc detection working on macOS after manual source code modification.

Image

Configuration

System information

not relevant

Features built-in

% fastfetch --list-features
threads
zlib
sqlite3
libzfs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions