1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/multimedia/vlc/files/patch-configure

31 lines
788 B
Plaintext

--- configure.orig 2018-02-26 14:47:53 UTC
+++ configure
@@ -9027,9 +9027,6 @@ case "${host_os}" in
;;
freebsd*)
SYS=freebsd
- CFLAGS="${CFLAGS} -pthread"
- CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
- LDFLAGS="${LDFLAGS} -L/usr/local/lib"
ac_cv_ld_z_defs=no
;;
openbsd*)
@@ -25572,7 +25569,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_
_Thread_local int foo = 0;
int main() {}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
$as_echo "ok" >&6; }
@@ -27072,7 +27069,7 @@ main ()
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
ac_cv_c_visibility_hidden=yes