pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics libglut needs symbols from libXi, so explicit...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e65e53504d31
branches:  trunk
changeset: 489550:e65e53504d31
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed Feb 23 13:57:35 2005 +0000

description:
libglut needs symbols from libXi, so explicitly link against it.

fixes unresolved symbols at runtime on Solaris. bump PKGREVISION
of glut.

diffstat:

 graphics/MesaLib/distinfo         |   4 ++--
 graphics/MesaLib/patches/patch-ag |  10 ++++++----
 graphics/glut/Makefile            |   3 ++-
 3 files changed, 10 insertions(+), 7 deletions(-)

diffs (60 lines):

diff -r ffa5ca30c4be -r e65e53504d31 graphics/MesaLib/distinfo
--- a/graphics/MesaLib/distinfo Wed Feb 23 13:04:47 2005 +0000
+++ b/graphics/MesaLib/distinfo Wed Feb 23 13:57:35 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2005/01/04 15:49:24 adam Exp $
+$NetBSD: distinfo,v 1.23 2005/02/23 13:57:35 grant Exp $
 
 SHA1 (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 7c4fb46ae17b066e85e90592ace496ac6b36c189
 Size (Mesa-6.2.1/MesaLib-6.2.1.tar.bz2) = 1627520 bytes
@@ -10,5 +10,5 @@
 SHA1 (patch-ad) = 0d8bee8806d2c5c23acf2bf4744f64efc1c73d7d
 SHA1 (patch-ae) = b7fd3c2af1e40536f9e5a2b0409342aaee7fef1f
 SHA1 (patch-af) = fce796cba87fb5f1bab32bfd095dcb1d4320fdc8
-SHA1 (patch-ag) = 05673cd2240f1b03139a5a4c57938d58a952b730
+SHA1 (patch-ag) = 696fc3000edbfdba41dd4ebc48b1384e1fda4d04
 SHA1 (patch-ah) = 8ccfd1734accf9ed3920d42e9208eef5a9d233cf
diff -r ffa5ca30c4be -r e65e53504d31 graphics/MesaLib/patches/patch-ag
--- a/graphics/MesaLib/patches/patch-ag Wed Feb 23 13:04:47 2005 +0000
+++ b/graphics/MesaLib/patches/patch-ag Wed Feb 23 13:57:35 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.4 2005/01/04 15:49:24 adam Exp $
+$NetBSD: patch-ag,v 1.5 2005/02/23 13:57:35 grant Exp $
 
---- src/glut/glx/Makefile.orig 2004-12-05 18:00:20.000000000 +0000
+--- src/glut/glx/Makefile.orig 2004-12-06 05:00:20.000000000 +1100
 +++ src/glut/glx/Makefile
 @@ -79,6 +79,7 @@ OBJECTS = $(SOURCES:.c=.o)
  ##### RULES #####
@@ -10,7 +10,7 @@
        $(CC) -c -I$(TOP)/include $(CFLAGS) $(GLUT_CFLAGS) $<
  
  
-@@ -90,10 +91,8 @@ default: $(LIB_DIR)/$(GLUT_LIB_NAME)
+@@ -90,10 +91,10 @@ default: $(LIB_DIR)/$(GLUT_LIB_NAME)
  
  # Make the library
  $(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS)
@@ -19,7 +19,9 @@
 -              -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \
 -              $(GLUT_LIB_DEPS) $(OBJECTS)
 +      ${LIBTOOL} --mode=link ${CC} -o ${GLUT_LIB_NAME:.so=.la} ${OBJECTS:.o=.lo} \
-+              -rpath ${PREFIX}/lib -version-info ${GLUT_MAJOR}:${GLUT_MINOR}
++              -rpath ${PREFIX}/lib \
++              -L${X11BASE}/lib -rpath ${X11BASE}/lib -lXi \
++              -version-info ${GLUT_MAJOR}:${GLUT_MINOR}
  
  
  clean:
diff -r ffa5ca30c4be -r e65e53504d31 graphics/glut/Makefile
--- a/graphics/glut/Makefile    Wed Feb 23 13:04:47 2005 +0000
+++ b/graphics/glut/Makefile    Wed Feb 23 13:57:35 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2005/02/23 13:05:52 grant Exp $
+# $NetBSD: Makefile,v 1.36 2005/02/23 13:57:35 grant Exp $
 
 PKGNAME=       ${DISTNAME:S/MesaLib/glut/}
+PKGREVISION=   1
 COMMENT=       GLUT Graphics library similar to SGI's OpenGL
 
 CONFLICTS+=    Mesa-glx-[0-9]*



Home | Main Index | Thread Index | Old Index