diff options
author | wiz <wiz@pkgsrc.org> | 2004-12-28 15:00:50 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-12-28 15:00:50 +0000 |
commit | 07dc306a0080e27536044d7368e49e69ca4aac31 (patch) | |
tree | 04de18592436aa1f49306d9c7189316424974f14 /audio/xmms-bezier/patches | |
parent | c752f6b81d4678096e322b63a38215e5091306a6 (diff) | |
download | pkgsrc-07dc306a0080e27536044d7368e49e69ca4aac31.tar.gz |
Make configure detect libMesaGL correctly.
Diffstat (limited to 'audio/xmms-bezier/patches')
-rw-r--r-- | audio/xmms-bezier/patches/patch-aa | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/xmms-bezier/patches/patch-aa b/audio/xmms-bezier/patches/patch-aa new file mode 100644 index 00000000000..ddfe953eef3 --- /dev/null +++ b/audio/xmms-bezier/patches/patch-aa @@ -0,0 +1,40 @@ +$NetBSD: patch-aa,v 1.1 2004/12/28 15:00:50 wiz Exp $ + +--- configure.orig 2004-12-28 15:55:24.000000000 +0100 ++++ configure +@@ -3308,7 +3308,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lMesaGL $LIBS" ++LIBS="-lMesaGL -lXext $LIBS" + cat > conftest.$ac_ext <<EOF + #line 3314 "configure" + #include "confdefs.h" +@@ -3336,7 +3336,7 @@ LIBS="$ac_save_LIBS" + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- OPENGL_LIBS="-lMesaGL" ++ OPENGL_LIBS="-lMesaGL -lXext" + else + echo "$ac_t""no" 1>&6 + { echo "configure: error: *** OpenGL libs not found - please install first ***" 1>&2; exit 1; } +@@ -3422,7 +3422,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lMesaGLU $LIBS" ++LIBS="-lMesaGLU -lXext $LIBS" + cat > conftest.$ac_ext <<EOF + #line 3428 "configure" + #include "confdefs.h" +@@ -3453,7 +3453,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_l + cat >> confdefs.h <<\EOF + #define HAVE_GLU 1 + EOF +- OPENGL_LIBS="$OPENGL_LIBS -l MesaGLU" ++ OPENGL_LIBS="$OPENGL_LIBS -lMesaGLU -lXext" + else + echo "$ac_t""no" 1>&6 + fi |