From owner-freebsd-ports Sun Feb 4 14:20:24 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 E77DF37B503 for ; Sun, 4 Feb 2001 14:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f14MK2T77771; Sun, 4 Feb 2001 14:20:02 -0800 (PST) (envelope-from gnats) Received: from babylon.merseine.nu (c418236-a.clmba1.mo.home.com [24.12.203.134]) by hub.freebsd.org (Postfix) with ESMTP id CCF2A37B491 for ; Sun, 4 Feb 2001 14:18:14 -0800 (PST) Received: (from ishmael@localhost) by babylon.merseine.nu (8.11.1/8.11.1) id f14MKRD88151; Sun, 4 Feb 2001 16:20:27 -0600 (CST) (envelope-from ishmael) Message-Id: <200102042220.f14MKRD88151@babylon.merseine.nu> Date: Sun, 4 Feb 2001 16:20:27 -0600 (CST) From: ishmael27@home.com Reply-To: ishmael27@home.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/24853: Change devel/libslang to not directly link libc Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24853 >Category: ports >Synopsis: Change devel/libslang to not directly link libc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 04 14:20:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jeremy Norris >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: FreeBSD babylon.merseine.nu 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Dec 15 07:53:17 CST 2000 ishmael@babylon.merseine.nu:/usr/src/sys/compile/BABYLON i386 >Description: Port devel/libslang declares -lc on the link line. This is wrong; if any program would link against libslang and libc_r (using -pthread) the compiler spits out lots of errors. >How-To-Repeat: Write a short program that uses pthreads and libslang. Link it with -lslang -pthread. Notice the errors. >Fix: --- files/patch-aa.orig Thu Jan 18 12:13:39 2001 +++ files/patch-aa Sun Feb 4 16:11:09 2001 @@ -1,5 +1,5 @@ ---- configure.orig Sun Aug 20 11:20:18 2000 -+++ configure Sat Jan 6 09:57:40 2001 +--- configure.orig Sat Aug 19 21:20:18 2000 ++++ configure Sun Feb 4 16:11:00 2001 @@ -1753,14 +1753,13 @@ fi @@ -26,6 +26,15 @@ cat >> confdefs.h <<\EOF #define HAVE_DLFCN_H 1 EOF +@@ -1893,7 +1892,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" + esac + + @@ -1906,6 +1905,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