Created
October 7, 2017 13:16
-
-
Save rubenerd/85fe9fccffcede827d222c04f0570a3b to your computer and use it in GitHub Desktop.
Bootstrap pkgsrc on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
_TARGET="/opt" | |
_BRANCH="pkgsrc-2017Q3" | |
cd "$_TARGET" | |
###### | |
## CVS is official source, but mirror also available for gits like me! | |
## cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot checkout pkgsrc | |
git clone https://github.com/NetBSD/pkgsrc.git | |
cd pkgsrc | |
git checkout "$_BRANCH" | |
###### | |
## With updates from http://wiki.netbsd.org/pkgsrc/pkgsrc_64bit_osx/ | |
cd bootstrap | |
./bootstrap --abi=64 --prefer-pkgsrc=yes --unprivileged --compiler=clang --prefix="$_TARGET" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment