From owner-freebsd-ports Mon Feb 26 5:10:27 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 27DFC37B491 for ; Mon, 26 Feb 2001 05:10:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f1QDALn77202; Mon, 26 Feb 2001 05:10:21 -0800 (PST) (envelope-from gnats) Received: from eeyore.local.dohd.org (d0030.upc-d.chello.nl [213.46.0.30]) by hub.freebsd.org (Postfix) with ESMTP id 6C19037B401 for ; Mon, 26 Feb 2001 05:08:37 -0800 (PST) (envelope-from xaa@dohd.org) Received: by eeyore.local.dohd.org (Postfix, from userid 1002) id 8158CBABE; Mon, 26 Feb 2001 14:08:35 +0100 (MET) Message-Id: <20010226130835.8158CBABE@eeyore.local.dohd.org> Date: Mon, 26 Feb 2001 14:08:35 +0100 (MET) From: xaa+ports@madison-gurkha.com Reply-To: xaa+ports@madison-gurkha.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/25382: libslang: don't link with libc Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25382 >Category: ports >Synopsis: don't link libslang with libc, for threaded application >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 26 05:10:10 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mark Huizer; Eindhoven >Release: FreeBSD 5.0-CURRENT i386 >Organization: Madison Gurkha BV >Environment: System: FreeBSD eeyore.local.dohd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Jan 30 19:19:31 MET 2001 xaa@eeyore.local.dohd.org:/usr2/sources/src/sys/compile/eeyore i386 >Description: Thanks to Jeremy Norris , this fix which will allow libslang to be used in applications linked with libc_r >How-To-Repeat: >Fix: Closing ports/24853 diff -udr ../devel/libslang/Makefile libslang/Makefile --- ../devel/libslang/Makefile Thu Feb 22 21:35:22 2001 +++ libslang/Makefile Mon Feb 26 12:45:28 2001 @@ -7,6 +7,7 @@ PORTNAME= libslang PORTVERSION= 1.4.4 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v1.4/ DISTNAME= slang-${PORTVERSION} diff -udr ../devel/libslang/files/patch-aa libslang/files/patch-aa --- ../devel/libslang/files/patch-aa Tue Feb 20 15:33:41 2001 +++ libslang/files/patch-aa Mon Feb 26 12:47:36 2001 @@ -1,5 +1,5 @@ ---- ./configure.orig Sat Feb 3 22:08:12 2001 -+++ configure Sun Feb 4 21:07:52 2001 +--- configure.orig Wed Feb 21 03:17:29 2001 ++++ configure Mon Feb 26 12:46:53 2001 @@ -1833,8 +1833,8 @@ #define HAVE_DLFCN_H 1 EOF @@ -20,6 +20,15 @@ cat >> confdefs.h <<\EOF #define HAVE_DLOPEN 1 EOF +@@ -2023,7 +2023,7 @@ + ELF_CFLAGS="$CFLAGS -fPIC" + ELF_LINK="$CC -shared" + ELF_LINK_CMD="\$(ELF_LINK)" +- ELF_DEP_LIBS="\$(DL_LIB) -lm -lc" ++ ELF_DEP_LIBS="\$(DL_LIB) -lm" + CC_SHARED="$CC $CFLAGS -shared -fPIC" + esac + @@ -2046,6 +2046,19 @@ IEEE_CFLAGS="-ieee_with_no_inexact" fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message