Changeset 22988 for trunk/dports/gnustep


Ignore:
Timestamp:
Mar 21, 2007, 4:38:47 AM (12 years ago)
Author:
yves@…
Message:

GNustep base now uses ffcall on ppc as suggested by W. Lux.

Location:
trunk/dports/gnustep/gnustep-base
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnustep/gnustep-base/Portfile

    r21622 r22988  
    66name        gnustep-base
    77version     1.13.1
     8revision        1
    89platforms   darwin
    910maintainers yves@macports.org
     
    2122
    2223checksums     md5 bdc92ab7048cd1ee8c18957b750686b5
    23 depends_lib   port:gnustep-make port:libxslt port:openssl
     24depends_lib   port:ffcall port:gnustep-make port:libxslt port:openssl
    2425
    2526pre-extract {
     
    3637}
    3738
    38 patch {
     39patchfiles      base.patch
     40post-patch {
    3941    reinplace "s|CODING-STANDARDS|GS-CODING-STANDARDS|g" \
    4042        ${worksrcpath}/Documentation/GNUmakefile
     
    4244
    4345use_configure   yes
     46configure.args-append   LDFLAGS=-L${prefix}/lib
     47
     48destroot.keepdirs    ${destroot}${prefix}/var/run
     49
     50startupitem.create  yes
     51startupitem.name        gdomap
     52set my_pid          ${prefix}/var/run/gdomap.pid
     53startupitem.start   \
     54    "GNUSTEP_SYSTEM_ROOT=${prefix}/GNUstep/System" \
     55    "\[ -f \$GNUSTEP_SYSTEM_ROOT/Tools/gdomap \] && \\" \
     56    "rm -f ${my_pid} && \\" \
     57    "\$GNUSTEP_SYSTEM_ROOT/Tools/gdomap -p -I ${my_pid}"
     58startupitem.stop    \
     59    "\[ -r ${prefix}/var/run/gdomap.pid \] && \\" \
     60    "kill -9 `cat ${my_pid}` && \\" \
     61    "rm -f ${my_pid}"
    4462
    4563platform powerpc {
    46     configure.args-append --with-ffi-include=${prefix}/include/gcc41 \
    47                           --with-ffi-library=${prefix}/lib/gcc41
    48 }
    49 
    50 platform x86 {
    51     depends_lib-append port:ffcall
     64        variant with_ffi {
     65        configure.args-append \
     66                --enable-libffi \
     67                --with-ffi-include=${prefix}/include/gcc41 \
     68            --with-ffi-library=${prefix}/lib/gcc41
     69    }
    5270}
    5371
    5472platform darwin {
    5573    build.args-append    GUI_LIBS=""
    56     destroot.keepdirs    ${destroot}${prefix}/var/run
    5774   
    5875    post-destroot {
     
    6784            overriding Apple's defaults tool. *****\n\n"
    6885    }
    69 
    70     startupitem.create  yes
    71     startupitem.name    gdomap
    72     set my_pid          ${prefix}/var/run/gdomap.pid
    73     startupitem.start   \
    74         "GNUSTEP_SYSTEM_ROOT=${prefix}/GNUstep/System" \
    75         "\[ -f \$GNUSTEP_SYSTEM_ROOT/Tools/gdomap \] && \\" \
    76         "rm -f ${my_pid} && \\" \
    77         "\$GNUSTEP_SYSTEM_ROOT/Tools/gdomap -p -I ${my_pid}"
    78     startupitem.stop    \
    79         "\[ -r ${prefix}/var/run/gdomap.pid \] && \\" \
    80         "kill -9 `cat ${my_pid}` && \\" \
    81         "rm -f ${my_pid}"
    8286}
    83 
Note: See TracChangeset for help on using the changeset viewer.