Changeset 5117


Ignore:
Timestamp:
Jan 31, 2004, 9:17:28 PM (16 years ago)
Author:
rshaw
Message:

Corrected dependency check with proper permanent code fix.

File:
1 edited

Legend:

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

    r5106 r5117  
    1 # $Id: Portfile,v 1.2 2004/01/31 07:10:23 rshaw Exp $
     1# $Id: Portfile,v 1.3 2004/01/31 21:17:28 rshaw Exp $
    22PortSystem 1.0
    33
     
    3535
    3636set ruby ${prefix}/bin/ruby
    37 #set ruby_platform [exec ${ruby} -e "puts RUBY_PLATFORM"]
    38 set ruby_platform "powerpc-darwin"
     37set ruby_platform       ${os.arch}-${os.platform}
     38set ruby_archdir        ${prefix}/lib/ruby/1.8/${ruby_platform}
    3939depends_build   bin:${ruby}:ruby \
    40                                 path:${prefix}/lib/ruby/1.8/${ruby_platform}/xmlparser.:rb-xmlparser
     40                                path:${ruby_archdir}/xmlparser.:rb-xmlparser
    4141
    4242configure               { cd ${worksrcpath}
Note: See TracChangeset for help on using the changeset viewer.