From owner-cvs-ports@FreeBSD.ORG Sun Jan 29 18:47:34 2006 Return-Path: X-Original-To: cvs-ports@FreeBSD.org Delivered-To: cvs-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E83D316A420; Sun, 29 Jan 2006 18:47:34 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9860243D64; Sun, 29 Jan 2006 18:47:32 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0TIlW7K087104; Sun, 29 Jan 2006 18:47:32 GMT (envelope-from marcus@repoman.freebsd.org) Received: (from marcus@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0TIlWCq087103; Sun, 29 Jan 2006 18:47:32 GMT (envelope-from marcus) Message-Id: <200601291847.k0TIlWCq087103@repoman.freebsd.org> From: Joe Marcus Clarke Date: Sun, 29 Jan 2006 18:47:32 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: 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 X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2006 18:47:35 -0000 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 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)