Changeset 103624


Ignore:
Timestamp:
Mar 3, 2013, 3:08:36 PM (6 years ago)
Author:
ryandesign@…
Message:

wordnet: build libWN.dylib for the right architecture(s)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/wordnet/Portfile

    r103529 r103624  
    4242                    -DUSE_INTERP_RESULT
    4343
     44variant universal {}
     45
    4446post-configure {
    4547    reinplace "s|${prefix}/dict|${prefix}/share/WordNet-3.0/dict|g" ${worksrcpath}/config.h
     
    4850# Build a shared library (so does FreeBSD's port).
    4951post-build {
    50     system "${configure.cc} -install_name ${prefix}/lib/libWN.dylib -dynamiclib ${worksrcpath}/lib/*.o -o ${worksrcpath}/lib/libWN.dylib"
     52    system "${configure.cc} [get_canonical_archflags cc] -install_name ${prefix}/lib/libWN.dylib -dynamiclib ${worksrcpath}/lib/*.o -o ${worksrcpath}/lib/libWN.dylib"
    5153}
    5254
Note: See TracChangeset for help on using the changeset viewer.