ports/devel/libdap/files/patch-configure
2025-02-03 23:50:46 +08:00

35 lines
1.1 KiB
Text

--- configure.orig 2025-01-13 23:08:14 UTC
+++ configure
@@ -33838,32 +33838,6 @@ fi
-if test -f /etc/redhat-release && grep -q '8\.' /etc/redhat-release
-then :
-
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Found a RHEL 8 or equivalent system..." >&5
-printf "%s\n" "$as_me: Found a RHEL 8 or equivalent system..." >&6;}
- if echo $CPPFLAGS | grep -q -v tirpc || echo $LDFLAGS | grep -q -v tirpc
-then :
-
- as_fn_error $? "Libdap4 on Redhat Linux 8 requires the tirpc library be included on CPPFLAGS and LDFLAGS" "$LINENO" 5
-
-else case e in #(
- e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: and CPPFLAGS and LDFLAGS are set" >&5
-printf "%s\n" "$as_me: and CPPFLAGS and LDFLAGS are set" >&6;}
- ;;
-esac
-fi
-
-else case e in #(
- e)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Not a RHEL 8 or equivalent system" >&5
-printf "%s\n" "$as_me: Not a RHEL 8 or equivalent system" >&6;}
- ;;
-esac
-fi
-
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_kill in -lpthread" >&5
printf %s "checking for pthread_kill in -lpthread... " >&6; }
if test ${ac_cv_lib_pthread_pthread_kill+y}