Skip to content

Add support for NetBSD.#39

Merged
davecheney merged 1 commit intopkg:masterfrom
fraggerfox:support-netbsd
Sep 11, 2021
Merged

Add support for NetBSD.#39
davecheney merged 1 commit intopkg:masterfrom
fraggerfox:support-netbsd

Conversation

@fraggerfox
Copy link
Copy Markdown
Contributor

This patch adds support NetBSD and was tested in NetBSD 9.2.

$ ./main
http://www.google.com
/usr/pkg/bin/xdg-open: line 871: www-browser: command not found
/usr/pkg/bin/xdg-open: line 871: links2: command not found
/usr/pkg/bin/xdg-open: line 871: elinks: command not found
/usr/pkg/bin/xdg-open: line 871: links: command not found
/usr/pkg/bin/xdg-open: line 871: lynx: command not found
/usr/pkg/bin/xdg-open: line 871: w3m: command not found
xdg-open: no method available for opening 'file:///tmp/browser.1539593927.html'
2021/09/09 19:05:00 exit status 3
$ uname -a
NetBSD netbsd-build 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

And it opens one of them if they are present.

@davecheney
Copy link
Copy Markdown
Member

TYVM

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants