[44757] trunk/dports/x11/gtkglarea2/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Jan 2 17:06:15 PST 2009


Revision: 44757
          http://trac.macports.org/changeset/44757
Author:   jeremyhu at macports.org
Date:     2009-01-02 17:06:14 -0800 (Fri, 02 Jan 2009)
Log Message:
-----------
gtkglarea2: autoreconf to update configure for universal variant.  Fixed X11 dependencies

Modified Paths:
--------------
    trunk/dports/x11/gtkglarea2/Portfile

Modified: trunk/dports/x11/gtkglarea2/Portfile
===================================================================
--- trunk/dports/x11/gtkglarea2/Portfile	2009-01-03 00:52:13 UTC (rev 44756)
+++ trunk/dports/x11/gtkglarea2/Portfile	2009-01-03 01:06:14 UTC (rev 44757)
@@ -20,13 +20,18 @@
 use_bzip2               yes
 checksums               md5 cd69f77240ae8038f95a2e5e0b7e5f25 \
                         sha1 5a4e7f37a7cbf628cde948ac0f95d8d810b1a007
-depends_lib             lib:libGL.1:XFree86 \
-                        lib:libgtk.2:gtk2
-configure.post_args     --with-GL-prefix=${x11prefix}
+depends_lib \
+	lib:libGLU.1:mesa \
+	port:gtk2
 configure.ccache        no
 
-platform darwin 9 {
-    configure.ldflags-append \
-        -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
-        /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
+use_autoreconf yes
+autoreconf.args -fvi
+
+pre-configure {
+	if { [file exists ${x11prefix}/lib/libGL.dylib ] } {
+		configure.post_args --with-GL-prefix=${x11prefix}
+	} else {
+		configure.post_args --with-GL-prefix=${prefix}
+	}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090102/405ab9ec/attachment-0001.html>


More information about the macports-changes mailing list