packages/net/unbound/patches/010-configure_uname.patch

12 lines
281 B
Diff
Raw Normal View History

--- a/configure.ac
+++ b/configure.ac
@@ -772,7 +772,7 @@ if test x_$ub_test_python != x_no; then
fi
fi
-if test "`uname`" = "NetBSD"; then
+if test "${UNAME:-`uname`}" = "NetBSD"; then
NETBSD_LINTFLAGS='"-D__RENAME(x)=" -D_NETINET_IN_H_'
AC_SUBST(NETBSD_LINTFLAGS)
fi