Author: ranger
Date: Fri Jan 11 05:56:58 2008
New Revision: 1106

URL: 
http://svn.finkproject.org/websvn/listing.php?sc=1&rev=1106&repname=user%3a+ranger
Log:
glew fix from ben hines

Modified:
    trunk/experimental/10.4/main/finkinfo/graphics/glew.info
    trunk/experimental/10.4/main/finkinfo/graphics/glew.patch
    trunk/experimental/common/main/finkinfo/graphics/glew.info
    trunk/experimental/common/main/finkinfo/graphics/glew.patch

Modified: trunk/experimental/10.4/main/finkinfo/graphics/glew.info
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/10.4/main/finkinfo/graphics/glew.info&rev=1106&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/10.4/main/finkinfo/graphics/glew.info (original)
+++ trunk/experimental/10.4/main/finkinfo/graphics/glew.info Fri Jan 11 
05:56:58 2008
@@ -1,6 +1,6 @@
 Package: glew
 Version: 1.3.5
-Revision: 2
+Revision: 1023
 Description: OpenGL Extension Wrangler Library
 License: BSD
 Maintainer: Benjamin Reed <[EMAIL PROTECTED]>

Modified: trunk/experimental/10.4/main/finkinfo/graphics/glew.patch
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/10.4/main/finkinfo/graphics/glew.patch&rev=1106&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/10.4/main/finkinfo/graphics/glew.patch (original)
+++ trunk/experimental/10.4/main/finkinfo/graphics/glew.patch Fri Jan 11 
05:56:58 2008
@@ -1,22 +1,23 @@
-
---- glew/config/Makefile.darwin        2005-01-05 15:19:04.000000000 -0500
-+++ glew-patched/config/Makefile.darwin        2006-11-22 15:27:45.000000000 
-0500
-@@ -1,12 +1,12 @@
+--- glew/config/Makefile.darwin        2005-01-05 15:19:04.000000000 -0800
++++ glew-patched/config/Makefile.darwin        2007-12-13 22:53:57.000000000 
-0800
+@@ -1,13 +1,13 @@
  NAME = $(GLEW_NAME)
 -CC = cc
 -LD = cc
 +CC = gcc
-+LD = gcc
++LD = gcc 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
  CFLAGS.EXTRA = -no-cpp-precomp -dynamic -fno-common
  ifneq (undefined, $(origin GLEW_MX))
  CFLAGS.EXTRA += -DGLEW_MX
  endif
  PICFLAG = -fPIC
 -LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED)
-+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.MAJORNAME) 
-current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
- LDFLAGS.EXTRA =
+-LDFLAGS.EXTRA =
++LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.MAJORNAME) 
-current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR) 
++LDFLAGS.EXTRA = 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
  ifneq (undefined, $(origin GLEW_APPLE_GLX))
  CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+ LDFLAGS.GL = -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
 @@ -17,8 +17,9 @@
  LDFLAGS.STATIC =
  LDFLAGS.DYNAMIC =

Modified: trunk/experimental/common/main/finkinfo/graphics/glew.info
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/graphics/glew.info&rev=1106&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/common/main/finkinfo/graphics/glew.info (original)
+++ trunk/experimental/common/main/finkinfo/graphics/glew.info Fri Jan 11 
05:56:58 2008
@@ -1,20 +1,26 @@
 Package: glew
 Version: 1.3.5
-Revision: 2
-GCC: 3.3
+Revision: 1023
+Description: OpenGL Extension Wrangler Library
+License: BSD
+Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
+
+Depends: %N-shlibs (= %v-%r)
 BuildDepends: libgl-dev, x11-dev
 BuildDependsOnly: true
-Maintainer: Benjamin Reed <[EMAIL PROTECTED]>
+GCC: 4.0
+
 Source: mirror:sourceforge:%n/%n-%v-src.zip
+SourceDirectory: %n
 Source-MD5: 84609e5daa0660780e0edf37753c9ccc
-SourceDirectory: %n
 Patch: %n.patch
-Depends: %N-shlibs (= %v-%r)
+
 CompileScript: <<
        chmod -R a+rw .
        chmod a+x config/*
        make GLEW_DEST=%p GLEW_APPLE_GLX=1
 <<
+
 InstallScript: <<
        make install GLEW_DEST=%i GLEW_APPLE_GLX=1
        ln -sf libGLEW.1.3.5.dylib %i/lib/libGLEW.1.dylib
@@ -23,11 +29,12 @@
 SplitOff: <<
        Package: %N-shlibs
        Depends: libgl-shlibs, x11-shlibs
+       DocFiles: README.txt
        Files: lib/libGLEW.*.dylib
        Shlibs: %p/lib/libGLEW.1.dylib 1.3.0 %n (>= 1.3.5-1)
-       DocFiles: README.txt
 <<
-Description: OpenGL Extension Wrangler Library
+
+Homepage: http://glew.sourceforge.net/
 DescDetail: <<
 The OpenGL Extension Wrangler Library (GLEW) is a cross-platform
 C/C++ extension loading library.  GLEW provides efficient
@@ -35,5 +42,4 @@
 supported on the target platform.  OpenGL core and extension
 functionality is exposed in a single header file.
 <<
-License: BSD
-Homepage: http://glew.sourceforge.net/
+

Modified: trunk/experimental/common/main/finkinfo/graphics/glew.patch
URL: 
http://svn.finkproject.org/websvn/diff.php?path=/trunk/experimental/common/main/finkinfo/graphics/glew.patch&rev=1106&repname=user%3a+ranger
==============================================================================
--- trunk/experimental/common/main/finkinfo/graphics/glew.patch (original)
+++ trunk/experimental/common/main/finkinfo/graphics/glew.patch Fri Jan 11 
05:56:58 2008
@@ -1,22 +1,23 @@
-diff -uNr glew/config/Makefile.darwin glew-patched/config/Makefile.darwin
---- glew/config/Makefile.darwin        2005-01-05 15:19:04.000000000 -0500
-+++ glew-patched/config/Makefile.darwin        2006-11-22 15:27:45.000000000 
-0500
-@@ -1,12 +1,12 @@
+--- glew/config/Makefile.darwin        2005-01-05 15:19:04.000000000 -0800
++++ glew-patched/config/Makefile.darwin        2007-12-13 22:53:57.000000000 
-0800
+@@ -1,13 +1,13 @@
  NAME = $(GLEW_NAME)
 -CC = cc
 -LD = cc
 +CC = gcc
-+LD = gcc
++LD = gcc 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
  CFLAGS.EXTRA = -no-cpp-precomp -dynamic -fno-common
  ifneq (undefined, $(origin GLEW_MX))
  CFLAGS.EXTRA += -DGLEW_MX
  endif
  PICFLAG = -fPIC
 -LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED)
-+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.MAJORNAME) 
-current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
- LDFLAGS.EXTRA =
+-LDFLAGS.EXTRA =
++LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.MAJORNAME) 
-current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR) 
++LDFLAGS.EXTRA = 
-Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
  ifneq (undefined, $(origin GLEW_APPLE_GLX))
  CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+ LDFLAGS.GL = -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
 @@ -17,8 +17,9 @@
  LDFLAGS.STATIC =
  LDFLAGS.DYNAMIC =


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to