[47385] trunk/dports/science/liboglappth/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Feb 27 13:02:24 PST 2009


Revision: 47385
          http://trac.macports.org/changeset/47385
Author:   jeremyhu at macports.org
Date:     2009-02-27 13:02:23 -0800 (Fri, 27 Feb 2009)
Log Message:
-----------
liboglappth: Depend on mesa for glut and remove some hacks that are no longer needed

Modified Paths:
--------------
    trunk/dports/science/liboglappth/Portfile

Modified: trunk/dports/science/liboglappth/Portfile
===================================================================
--- trunk/dports/science/liboglappth/Portfile	2009-02-27 21:00:51 UTC (rev 47384)
+++ trunk/dports/science/liboglappth/Portfile	2009-02-27 21:02:23 UTC (rev 47385)
@@ -16,26 +16,8 @@
                     sha1 bf532427bfa97ef01c3161a9a13418ee7134229c \
                     rmd160 72f10fb085275485ac30cd56e931b29693f7d445
 
-depends_lib         port:glut
+depends_lib         port:mesa
 
-pre-configure {
-    # If gl.h and glu.h don't exist in ${prefix}/include/GL then symlink the
-    # OpenGL files there. Doesn't really fit in pre-configure but I don't know
-    # where to put it.
-    set gl ${prefix}/include/GL
-    set opengl /System/Library/Frameworks/OpenGL.framework/Headers
-    if {![file exists ${gl}/gl.h]} {
-        file link -symbolic ${gl}/gl.h ${opengl}/gl.h
-    }
-    if {![file exists ${gl}/glu.h]} {
-        file link -symbolic ${gl}/glu.h ${opengl}/glu.h
-    }
-}
-
 livecheck.check     regex
 livecheck.url       "${master_sites}?C=M;O=D"
 livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-
-platform darwin 9 {
-    configure.ldflags-append   "-L${prefix}/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090227/60b529f2/attachment-0001.html>


More information about the macports-changes mailing list