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

    r74635 r74726  
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45PortGroup               ruby 1.0
    56
     
    78                                { gnomecanvas/README gnomecanvas/sample } \
    89                                sourceforge:ruby-gnome2
    9 revision                0
     10revision                1
    1011maintainers             kimuraw
    1112platforms               darwin
     
    1920configure.env   RUBYOPT=-rvendor-specific
    2021configure.args          --strict gnomecanvas
    21 depends_lib-append      port:libgnomecanvas port:rb-glib2 port:rb-gtk2
     22depends_lib-append      port:libgnomecanvas port:rb-glib2 port:rb-gtk2 \
     23                                        port:rb-libart
    2224distname                ${ruby.project}-all-${version}
    2325
     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}/gnomecanvas extconf.rb --vendor"
     32                }
     33        }
     34}
     35
Note: See TracChangeset for help on using the changeset viewer.