1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

ftp/curl: Clean up patch file after librtmp removal

multimedia/librtmp is removed in 8d01b5458f
RTMP option is removed in ac11b26ab7
This commit is contained in:
Po-Chuan Hsieh 2024-06-03 10:37:30 +08:00
parent bea12781cb
commit 8757b4a195
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -124,47 +124,6 @@
if test "$want_optimize" = "yes"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
@@ -29748,31 +29753,31 @@ printf "%s\n" "found" >&6; }
;;
off)
LIB_RTMP="-lrtmp"
+ LD_RTMP=""
+ CPP_RTMP=""
+ DIR_RTMP=""
;;
*)
LIB_RTMP="-lrtmp"
+ LD_RTMP="-L${PREFIX_RTMP}/lib$libsuff"
+ CPP_RTMP="-I${PREFIX_RTMP}/include"
+ DIR_RTMP="${PREFIX_RTMP}/lib$libsuff"
PREFIX_RTMP=$OPT_LIBRTMP
;;
esac
- if test -n "$PREFIX_RTMP"; then
- LD_RTMP=-L${PREFIX_RTMP}/lib$libsuff
- CPP_RTMP=-I${PREFIX_RTMP}/include
- DIR_RTMP=${PREFIX_RTMP}/lib$libsuff
- fi
-
LDFLAGS="$LDFLAGS $LD_RTMP"
CPPFLAGS="$CPPFLAGS $CPP_RTMP"
LIBS="$LIB_RTMP $LIBS"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in -lrtmp" >&5
-printf %s "checking for RTMP_Init in -lrtmp... " >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RTMP_Init in $LIB_RTMP" >&5
+printf %s "checking for RTMP_Init in $LIB_RTMP... " >&6; }
if test ${ac_cv_lib_rtmp_RTMP_Init+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lrtmp $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -45884,9 +45889,10 @@ printf "%s\n" "$as_me: LIBS note: LIBS should only be
-I*)
xc_bad_var_ldflags=yes