From owner-freebsd-current Sat Jun 3 13:16:40 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA21433 for current-outgoing; Sat, 3 Jun 1995 13:16:40 -0700 Received: from ibp.ibp.fr (ibp.ibp.fr [132.227.60.30]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA21421 for ; Sat, 3 Jun 1995 13:16:37 -0700 Received: from blaise.ibp.fr (blaise.ibp.fr [132.227.60.1]) by ibp.ibp.fr (8.6.12/jtpda-5.0) with ESMTP id WAA09699 for ; Sat, 3 Jun 1995 22:16:33 +0200 Received: from (uucp@localhost) by blaise.ibp.fr (8.6.12/jtpda-5.0) with UUCP id WAA07893 for freebsd-current@FreeBSD.ORG; Sat, 3 Jun 1995 22:16:33 +0200 Received: (from roberto@localhost) by keltia.frmug.fr.net (8.7.Beta.1/keltia-uucp-2.1) id WAA13762 for freebsd-current@FreeBSD.ORG; Sat, 3 Jun 1995 22:15:49 +0200 (MET DST) From: Ollivier Robert Message-Id: <199506032015.WAA13762@keltia.frmug.fr.net> Subject: Some Makefiles incorrectly set LDADD To: freebsd-current@FreeBSD.ORG (FreeBSD Current Users' list) Date: Sat, 3 Jun 1995 22:15:48 +0200 (MET DST) Reply-To: roberto@keltia.freenix.fr (Ollivier Robert) X-Operating-System: FreeBSD 2.0-BUILT-19950602 ctm#733 X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: current-owner@FreeBSD.ORG Precedence: bulk Some programs incorrectly set LDADD with "=" and not "+=" in the Makefile. I found this when attempting to replace BSD malloc by Doug Lea's malloc. Examples: date/Makefile:LDADD= -lutil mv/Makefile:LDADD= -lutil ps/Makefile:LDADD= -lm -lkvm rcp/Makefile:LDADD= -lkrb -ldes sh/Makefile:LDADD= -ll -ledit -ltermcap Why is there no "+=" ? Is this intentional ? BTW I've done a port that generate libdlmalloc.so.2.5 and libdlmalloc.a. There is no man. Asami, do you want now or do you prefer to wait for code freeze's lift ? -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.frmug.fr.net FreeBSD keltia 2.0-BUILT-19950602 #1: Fri Jun 2 21:01:56 MET DST 1995