Changeset 44757


Ignore:
Timestamp:
Jan 3, 2009, 1:06:14 AM (11 years ago)
Author:
jeremyhu@…
Message:

gtkglarea2: autoreconf to update configure for universal variant. Fixed X11 dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/gtkglarea2/Portfile

    r37689 r44757  
    2121checksums               md5 cd69f77240ae8038f95a2e5e0b7e5f25 \
    2222                        sha1 5a4e7f37a7cbf628cde948ac0f95d8d810b1a007
    23 depends_lib             lib:libGL.1:XFree86 \
    24                         lib:libgtk.2:gtk2
    25 configure.post_args     --with-GL-prefix=${x11prefix}
     23depends_lib \
     24        lib:libGLU.1:mesa \
     25        port:gtk2
    2626configure.ccache        no
    2727
    28 platform darwin 9 {
    29     configure.ldflags-append \
    30         -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
    31         /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
     28use_autoreconf yes
     29autoreconf.args -fvi
     30
     31pre-configure {
     32        if { [file exists ${x11prefix}/lib/libGL.dylib ] } {
     33                configure.post_args --with-GL-prefix=${x11prefix}
     34        } else {
     35                configure.post_args --with-GL-prefix=${prefix}
     36        }
    3237}
Note: See TracChangeset for help on using the changeset viewer.