ports/devel/libcoap/patches/patch-configure_ac

16 lines
328 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -658,6 +658,11 @@ case $host in
#AC_SUBST(OS_MACOS)
;;
+ *-openbsd*)
+ AC_MSG_RESULT([OpenBSD])
+ ADDITIONAL_CFLAGS="-D_GNU_SOURCE -DWITH_POSIX"
+ ;;
+
*-freebsd1*)
AC_MSG_RESULT([FreeBSD-1x])
ADDITIONAL_CFLAGS="-D_GNU_SOURCE"