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-gtk2/Portfile

    r74635 r74726  
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45PortGroup               ruby 1.0
    56
     
    78                                { gtk2/README gtk2/sample gdk_pixbuf2/sample } \
    89                                sourceforge:ruby-gnome2
    9 revision                0
     10revision                1
    1011maintainers             kimuraw
    1112platforms               darwin
     
    2829distname                ${ruby.project}-all-${version}
    2930
     31# run extconf.rb with each arch `ruby'
     32use_parallel_build      no
     33post-configure {
     34        if {[variant_isset universal]} {
     35                foreach arch ${universal_archs} {
     36                        foreach submod {glib2 pango gtk2 gdk_pixbuf2} {
     37                                system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/${submod}/ext/${submod} extconf.rb --vendor"
     38                        }
     39                }
     40        }
     41}
     42
    3043## patch-gtk-test-run-test.rb.diff: do not build dependent libraries at testing
    3144#patchfiles             patch-gtk2-test-run-test.rb.diff
Note: See TracChangeset for help on using the changeset viewer.