[BUG] pkgsrc detection on macOS
Author: tohruazusagawaCreated Sep 14, 2026Updated Sep 15, 2026
Labelsbug
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.
Configuration
System information
not relevantFeatures built-in
% fastfetch --list-features
threads
zlib
sqlite3
libzfsSource: fastfetch-cli/fastfetch