Changeset 12409 for trunk/dports/gnome


Ignore:
Timestamp:
May 25, 2005, 3:38:26 PM (15 years ago)
Author:
olegb
Message:

Bug: 3030
Submitted by: yves@…
Reviewed by: olegb@
Approved by:
Obtained from:

fix compilation on jaguar, Thanks Yves

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gnome-vfs/Portfile

    r11833 r12409  
    1 # $Id: Portfile,v 1.24 2005/04/17 04:22:21 olegb Exp $
     1# $Id: Portfile,v 1.25 2005/05/25 15:38:26 olegb Exp $
    22PortSystem 1.0
    33name            gnome-vfs
     
    3939
    4040platform darwin 6 {
    41                 configure.env-delete LDFLAGS="-lresolv"
     41        configure.env-delete LDFLAGS="-lresolv"
     42
     43        post-patch-append {
     44                reinplace "s|#include <arpa/nameser.h>|#include <arpa/nameser.h>\\
     45                        #ifndef T_SRV\\
     46                        #define T_SRV 33\\
     47                        #endif|g" \
     48                         ${worksrcpath}/libgnomevfs/gnome-vfs-dns-sd.c
     49                reinplace "s|#include <limits.h>|#include <limits.h>\\
     50                        #if \!defined getc_unlocked \\&\\& \!defined HAVE_GETC_UNLOCKED\\
     51                        #define getc_unlocked(fp) getc (fp)\\
     52                        #endif|g" \
     53                        ${worksrcpath}/libgnomevfs/xdgmimemagic.c
     54                reinplace "s|socklen_t|int|g" ${worksrcpath}/modules/ftp-method.c
     55        }
    4256}
    4357
Note: See TracChangeset for help on using the changeset viewer.