Index: head/net/ntopng/files/patch-configure.seed =================================================================== --- head/net/ntopng/files/patch-configure.seed (revision 534781) +++ head/net/ntopng/files/patch-configure.seed (revision 534782) @@ -1,66 +1,66 @@ --- configure.seed.orig 2020-04-14 13:42:12 UTC +++ configure.seed @@ -67,33 +67,8 @@ fi # On CentOS 6 `git rev-list HEAD --count` does not work # # -REVISION=`git log --pretty=oneline | wc -l` +#REVISION=`git log --pretty=oneline | wc -l` -if test -d "/usr/local/include"; then - CFLAGS="${CFLAGS} -I/usr/local/include" - CPPFLAGS="${CPPFLAGS} -I/usr/local/include" -fi - -if test -d "/usr/local/lib"; then - LDFLAGS="${LDFLAGS} -L/usr/local/lib" -fi - -if test -d /opt/local/include; then : - CFLAGS="${CFLAGS} -I/opt/local/include" - CPPFLAGS="${CPPFLAGS} -I/opt/local/include" -fi - -if test -d /opt/local/lib; then : - LDFLAGS="${LDFLAGS} -L/opt/local/lib" -fi - -if [ test -f /usr/bin/lsb_release ]; then - CODENAME=`/usr/bin/lsb_release -c|cut -f 2` - if [[ $CODENAME == "wheezy" ]]; then : - CPPFLAGS="${CPPFLAGS} -DOLD_NETFILTER_INTERFACE=1" - fi -fi - SHORT_MACHINE=`uname -m | cut -b1-3` GIT_RELEASE="@GIT_RELEASE@" @@ -201,6 +176,11 @@ else AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl]) SSL_INC="-I/usr/local/opt/openssl/include" SSL_LIB="-L/usr/local/opt/openssl/lib -lssl" + dnl Workaround for FreeBSD + elif test -f "/usr/lib/libssl.so"; then + AC_DEFINE_UNQUOTED(NO_SSL_DL, 1, [has openssl]) + SSL_INC="-I/usr/include" -+ SSL_LIB="-L/usr/lib -lssl" ++ SSL_LIB="-L/usr/lib -lssl -lcrypto" else echo "Please install openssl-dev(el) package prerequisite" exit -1 @@ -602,16 +582,6 @@ AC_DEFINE_UNQUOTED(_CRT_SECURE_NO_WARNINGS, 1, [Disabl GMAKE=`which gmake` if test x$GMAKE = x; then GMAKE="make" -fi - -GIT=`which git` -if test x$GIT = x; then - AC_MSG_RESULT(FATAL ERROR: git is not installed on your host) -fi - -WGET=`which wget` -if test x$WGET = x; then - AC_MSG_RESULT(ERROR. wget is not installed on your host: you cannot download GeoIP data) fi umask 002