Ignore:
Timestamp:
Dec 31, 2010, 3:39:35 AM (8 years ago)
Author:
kimuraw@…
Message:

ruby/rb-gnome: fix #27804, let to work "universal" variant correctly.

Ruby-Gnome2 ports are

rb-atk, rb-gconf, rb-glib2, rb-gnome, rb-gnomecanvas, rb-gnomeprint,
rb-gnomeprintui, rb-gnomevfs, rb-gstreamer, rb-gtk2, rb-gtkglext,
rb-gtkhtml, rb-gtksourceview2, rb-libart, rb-libglade2, rb-libgnome,
rb-pango, rb-poppler, rb-rsvg, rb-vte

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/ruby/rb-glib2/Portfile

    r74635 r74726  
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45PortGroup               ruby 1.0
    56
     
    78                                { glib2/README glib2/sample } \
    89                                sourceforge:ruby-gnome2
    9 revision                0
     10revision                1
    1011maintainers             kimuraw
    1112platforms               darwin
     
    2324distname                ${ruby.project}-all-${version}
    2425
     26# run extconf.rb with each arch `ruby'
     27use_parallel_build      no
     28post-configure {
     29        if {[variant_isset universal]} {
     30                foreach arch ${universal_archs} {
     31                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/glib2/ext/glib2 extconf.rb --vendor"
     32                }
     33        }
     34}
     35
    2536# NOTE: for developer only. this test launches X11.app.
    2637#test.run               yes
Note: See TracChangeset for help on using the changeset viewer.