Created
March 21, 2017 12:58
-
-
Save clinta/e9e300a33546b0a78489fb1052ffb9c0 to your computer and use it in GitHub Desktop.
Building Dash for FreeBSD
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/csh | |
setenv BDB_CPPFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv BDB_LIBS "-ldb_cxx-4.8" | |
setenv CFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv CXXFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv CPPFLAGS "-I/usr/local/include -I/usr/local/include/db48" | |
setenv LDFLAGS "-L/usr/local/lib -L/usr/local/lib/db48" | |
git clean -x -f -d | |
./autogen.sh | |
./configure --enable-debug --with-gui=no --disable-shared --with-pic --without-miniupnpc --disable-tests --enable-hardening | |
# Workaround 1277 | |
sed -i '' 's/^LEVELDB_TARGET_FLAGS = .*$/LEVELDB_TARGET_FLAGS = -DOS_FREEBSD/' src/Makefile | |
gmake |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment