1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-12 06:49:18 -04:00
ports/multimedia/mpeg4ip/files/patch-configure
Stanislav Sedov b7e48f54aa - Use getopt_long from libc, rather than the bundled implementation.
The bundled implementation fails to compile.
- Bump portrevision.

Approved by:	maintainer timeout (multimedia@, 14 days)
2010-12-23 08:59:07 +00:00

38 lines
1.3 KiB
Text

--- configure.orig 2010-12-09 12:24:43.000000000 -0800
+++ configure 2010-12-09 12:25:28.000000000 -0800
@@ -24544,13 +24544,12 @@
fi
-{ echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
-echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for getopt_long in -lc" >&5
+echo $ECHO_N "checking for getopt_long in -lc... $ECHO_C" >&6; }
if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgnugetopt $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -24610,8 +24609,6 @@
#define HAVE_LIBGNUGETOPT 1
_ACEOF
- LIBS="-lgnugetopt $LIBS"
-
fi
{ echo "$as_me:$LINENO: checking for library containing inet_addr" >&5
@@ -26431,8 +26428,8 @@
if test x$have_ffmpeg_arg = xtrue; then
{ echo "$as_me:$LINENO: have enable ffmpeg $enable_ffmpeg" >&5
echo "$as_me: have enable ffmpeg $enable_ffmpeg" >&6;}
- FFMPEG_INC=-I${enable_ffmpeg}/libavcodec
- FFMPEG_LIB="${enable_ffmpeg}/libavcodec/libavcodec.a -lz"
+ FFMPEG_INC=-I${enable_ffmpeg}/include/ffmpeg
+ FFMPEG_LIB="${enable_ffmpeg}/lib/libavcodec.a -lz"
saveCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $FFMPEG_INC"
{ echo "$as_me:$LINENO: checking for AVRational" >&5