cvs commit: ports/net/avahi Makefile ports/net/avahi/files patch-Makefile.in patch-avahi-compat-howl.pc.in patch-avahi-compat-libdns_sd.pc.in patch-avahi-core.pc.in patch-configure

Joe Marcus Clarke marcus at FreeBSD.org
Sun Jan 29 10:47:35 PST 2006


marcus      2006-01-29 18:47:32 UTC

  FreeBSD ports repository

  Modified files:
    net/avahi            Makefile 
  Added files:
    net/avahi/files      patch-Makefile.in 
                         patch-avahi-compat-howl.pc.in 
                         patch-avahi-compat-libdns_sd.pc.in 
                         patch-avahi-core.pc.in patch-configure 
  Log:
  In trying to solve a problem with inconsistencies when linking with -shared
  and ${PTHREAD_LIBS}, avahi linked its binaries with -lc_r on FreeBSD.  This
  caused nasty runtime failures on i386, and build failures on alpha, amd64,
  and other platforms where libc_r no longer exists.
  
  To fix this, don't go through the song and dance of trying to solve the
  -shared/${PTHREAD_LIBS} problem, and just link with ${PTHREAD_LIBS} as
  usual.  Of course, ports that depend on avahi's libraries will break by
  doing this, so add ${PTHREAD_{LIBS,CFLAGS}} to the right pkg-config files
  to make sure dependencies will pick them up.
  
  Patch adapted from:     Yasuda Keisuke <kysd at po.harenet.ne.jp>
  
  Revision  Changes    Path
  1.14      +4 -1      ports/net/avahi/Makefile
  1.1       +11 -0     ports/net/avahi/files/patch-Makefile.in (new)
  1.1       +10 -0     ports/net/avahi/files/patch-avahi-compat-howl.pc.in (new)
  1.1       +10 -0     ports/net/avahi/files/patch-avahi-compat-libdns_sd.pc.in (new)
  1.1       +10 -0     ports/net/avahi/files/patch-avahi-core.pc.in (new)
  1.1       +11 -0     ports/net/avahi/files/patch-configure (new)


More information about the cvs-all mailing list