Ignore:
Timestamp:
Dec 31, 2010, 3:39:35 AM (9 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-gstreamer/Portfile

    r74635 r74726  
    22
    33PortSystem              1.0
     4PortGroup               muniversal 1.0
    45PortGroup               ruby 1.0
    56
     
    78                                { gstreamer/README gstreamer/sample } \
    89                                sourceforge:ruby-gnome2
    9 revision                0
     10revision                1
    1011maintainers             kimuraw
    1112platforms               darwin
     
    2223configure.env   RUBYOPT=-rvendor-specific
    2324configure.args  --strict gstreamer
    24 depends_lib-append      port:gstreamer port:gst-plugins-base port:rb-pkg-config
     25depends_lib-append      port:gstreamer port:gst-plugins-base port:rb-pkg-config \
     26                                        port:rb-glib2
    2527distname                ${ruby.project}-all-${version}
     28
     29# run extconf.rb with each arch `ruby'
     30use_parallel_build      no
     31post-configure {
     32        if {[variant_isset universal]} {
     33                foreach arch ${universal_archs} {
     34                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/glib2/ext/glib2 extconf.rb --vendor"
     35                        system "/usr/bin/arch -${arch} ${ruby.bin} -C ${worksrcpath}-${arch}/gstreamer extconf.rb --vendor"
     36                }
     37        }
     38}
    2639
    2740#test.run               yes
Note: See TracChangeset for help on using the changeset viewer.