pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/xmms-bezier Make configure detect libMesaGL corr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e50bcd7c4fae
branches:  trunk
changeset: 486446:e50bcd7c4fae
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Dec 28 15:00:50 2004 +0000

description:
Make configure detect libMesaGL correctly.

diffstat:

 audio/xmms-bezier/distinfo         |   3 +-
 audio/xmms-bezier/patches/patch-aa |  40 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletions(-)

diffs (54 lines):

diff -r 22a0ae96df75 -r e50bcd7c4fae audio/xmms-bezier/distinfo
--- a/audio/xmms-bezier/distinfo        Tue Dec 28 14:48:03 2004 +0000
+++ b/audio/xmms-bezier/distinfo        Tue Dec 28 15:00:50 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/02/14 23:56:39 hubertf Exp $
+$NetBSD: distinfo,v 1.2 2004/12/28 15:00:50 wiz Exp $
 
 SHA1 (bezier-0.0.3.tar.gz) = 682c634a02943add289de0e0a5ea60de4640babc
 Size (bezier-0.0.3.tar.gz) = 129507 bytes
+SHA1 (patch-aa) = 1c84d71205e5903de83a670d3057b16edf2cfd12
diff -r 22a0ae96df75 -r e50bcd7c4fae audio/xmms-bezier/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/xmms-bezier/patches/patch-aa        Tue Dec 28 15:00:50 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index