summaryrefslogtreecommitdiff
path: root/multimedia/transcode/files/patch-configure
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-11 15:04:48 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-11 15:04:48 +0000
commitf025a0b0f326d78f5d210c4ef249a044830efc7c (patch)
tree5ed9dfbe86f0347af0fbbf3e99e5e4937004bad1 /multimedia/transcode/files/patch-configure
parentUpdate to version 1.4.4. (diff)
- Update to 1.0.0beta3
PR: ports/80884 Submitted by: Hendrik Scholz <hendrik@scholz.net> (maintainer)
Diffstat (limited to 'multimedia/transcode/files/patch-configure')
-rw-r--r--multimedia/transcode/files/patch-configure127
1 files changed, 127 insertions, 0 deletions
diff --git a/multimedia/transcode/files/patch-configure b/multimedia/transcode/files/patch-configure
new file mode 100644
index 000000000000..b84c9116290d
--- /dev/null
+++ b/multimedia/transcode/files/patch-configure
@@ -0,0 +1,127 @@
+--- configure.orig Mon May 9 16:11:35 2005
++++ configure Mon May 9 16:13:00 2005
+@@ -37743,7 +37743,7 @@
+ for l in $a52_ll ; do
+ case $l in
+ -L*) lpaths="$lpaths $l" ;;
+- -l*) test x"$l" != x"-la52" && xlibs="$xlibs $l" ;;
++ -l*) test x"$l" != x"-la52 -L/usr/local/lib -ldjbfft -lm" && xlibs="$xlibs $l" ;;
+ *) xlf="$xlf $l" ;;
+ esac
+ done
+@@ -37759,13 +37759,13 @@
+ if test x"a52" != x"none" ; then
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $a52_ll"
+- echo "$as_me:$LINENO: checking for a52_init in -la52" >&5
+-echo $ECHO_N "checking for a52_init in -la52... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for a52_init in -la52 -L/usr/local/lib -ldjbfft -lm" >&5
++echo $ECHO_N "checking for a52_init in -la52 -L/usr/local/lib -ldjbfft -lm... $ECHO_C" >&6
+ if test "${ac_cv_lib_a52_a52_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-la52 $A52_EXTRA_LIBS $LIBS"
++LIBS="-la52 -L/usr/local/lib -ldjbfft -lm $A52_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -37824,7 +37824,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_a52_a52_init" >&5
+ echo "${ECHO_T}$ac_cv_lib_a52_a52_init" >&6
+ if test $ac_cv_lib_a52_a52_init = yes; then
+- A52_LIBS="$a52_ll -la52 $A52_EXTRA_LIBS"
++ A52_LIBS="$a52_ll -la52 -L/usr/local/lib -ldjbfft -lm $A52_EXTRA_LIBS"
+ else
+
+ tc_pkg_err="yes"
+@@ -40561,14 +40561,14 @@
+ echo "${ECHO_T}$pkg_config_sdl" >&6
+
+
+- if test x"sdl-config" != x"no" ; then
++ if test x"sdl11-config" != x"no" ; then
+ if test x"$w_sdl_p" != x"" ; then
+- if test -x $w_sdl_p/bin/sdl-config ; then
+- sdl_config="$w_sdl_p/bin/sdl-config"
++ if test -x $w_sdl_p/bin/sdl11-config ; then
++ sdl_config="$w_sdl_p/bin/sdl11-config"
+ fi
+ fi
+- # Extract the first word of "sdl-config", so it can be a program name with args.
+-set dummy sdl-config; ac_word=$2
++ # Extract the first word of "sdl11-config", so it can be a program name with args.
++set dummy sdl11-config; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_sdl_config+set}" = set; then
+@@ -40856,7 +40856,7 @@
+ for l in $sdl_ll ; do
+ case $l in
+ -L*) lpaths="$lpaths $l" ;;
+- -l*) test x"$l" != x"-lSDL" && xlibs="$xlibs $l" ;;
++ -l*) test x"$l" != x"-lSDL-1.1" && xlibs="$xlibs $l" ;;
+ *) xlf="$xlf $l" ;;
+ esac
+ done
+@@ -40872,13 +40872,13 @@
+ if test x"SDL" != x"none" ; then
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $sdl_ll"
+- echo "$as_me:$LINENO: checking for SDL_Init in -lSDL" >&5
+-echo $ECHO_N "checking for SDL_Init in -lSDL... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for SDL_Init in -lSDL-1.1" >&5
++echo $ECHO_N "checking for SDL_Init in -lSDL-1.1... $ECHO_C" >&6
+ if test "${ac_cv_lib_SDL_SDL_Init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lSDL $SDL_EXTRA_LIBS $LIBS"
++LIBS="-lSDL-1.1 $SDL_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -40937,7 +40937,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_Init" >&5
+ echo "${ECHO_T}$ac_cv_lib_SDL_SDL_Init" >&6
+ if test $ac_cv_lib_SDL_SDL_Init = yes; then
+- SDL_LIBS="$sdl_ll -lSDL $SDL_EXTRA_LIBS"
++ SDL_LIBS="$sdl_ll -lSDL-1.1 $SDL_EXTRA_LIBS"
+ else
+
+ tc_pkg_err="yes"
+@@ -41429,7 +41429,7 @@
+ for l in $gtk_ll ; do
+ case $l in
+ -L*) lpaths="$lpaths $l" ;;
+- -l*) test x"$l" != x"-lgtk" && xlibs="$xlibs $l" ;;
++ -l*) test x"$l" != x"-lgtk12" && xlibs="$xlibs $l" ;;
+ *) xlf="$xlf $l" ;;
+ esac
+ done
+@@ -41445,13 +41445,13 @@
+ if test x"gtk" != x"none" ; then
+ save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LDFLAGS $gtk_ll"
+- echo "$as_me:$LINENO: checking for gtk_init in -lgtk" >&5
+-echo $ECHO_N "checking for gtk_init in -lgtk... $ECHO_C" >&6
++ echo "$as_me:$LINENO: checking for gtk_init in -lgtk12" >&5
++echo $ECHO_N "checking for gtk_init in -lgtk12... $ECHO_C" >&6
+ if test "${ac_cv_lib_gtk_gtk_init+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lgtk $GTK_EXTRA_LIBS $LIBS"
++LIBS="-lgtk12 $GTK_EXTRA_LIBS $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -41510,7 +41510,7 @@
+ echo "$as_me:$LINENO: result: $ac_cv_lib_gtk_gtk_init" >&5
+ echo "${ECHO_T}$ac_cv_lib_gtk_gtk_init" >&6
+ if test $ac_cv_lib_gtk_gtk_init = yes; then
+- GTK_LIBS="$gtk_ll -lgtk $GTK_EXTRA_LIBS"
++ GTK_LIBS="$gtk_ll -lgtk12 $GTK_EXTRA_LIBS"
+ else
+
+ tc_pkg_err="yes"