From owner-freebsd-ports Sun Apr 26 08:42:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11315 for freebsd-ports-outgoing; Sun, 26 Apr 1998 08:40:04 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11300; Sun, 26 Apr 1998 08:40:01 -0700 (PDT) (envelope-from gnats) Received: from aldan.ziplink.net (mi@kot.ne.mediaone.net [24.128.29.55]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA09302 for ; Sun, 26 Apr 1998 08:19:40 -0700 (PDT) (envelope-from mi@rtfm.ziplink.net) Received: from rtfm.ziplink.net (rtfm [199.232.255.52]) by aldan.ziplink.net (8.8.8/8.8.7) with ESMTP id PAA18670 for ; Sun, 26 Apr 1998 15:19:38 GMT (envelope-from mi@rtfm.ziplink.net) Received: (from mi@localhost) by rtfm.ziplink.net (8.8.8/8.8.5) id LAA26760; Sun, 26 Apr 1998 11:19:37 -0400 (EDT) Message-Id: <199804261519.LAA26760@rtfm.ziplink.net> Date: Sun, 26 Apr 1998 11:19:37 -0400 (EDT) From: Mikhail Teterin Reply-To: mi@aldan.algebra.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/6423: xdelta port remains broken Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6423 >Category: ports >Synopsis: ld: -lgdbm: no match >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 26 08:40:01 PDT 1998 >Last-Modified: >Originator: Mikhail Teterin >Organization: >Release: FreeBSD 3.0-CURRENT i386 >Environment: libgdbm is in /usr/local/lib -- where else? >Description: 1) When creating xdelta's library (line breaks added): cc -shared -o .libs/libxdelta.so.0.18.0 cm.lo emit.lo grow.lo map.lo genck.lo cksum.lo xdelta.lo chash.lo misc.lo xd-gdbm.lo md5c.lo maketime.lo fakeglib.lo partime.lo -lgdbm -lz -lc ld: -lgdbm: no match *** Error code 1 [...] Notably, I pointed this to jmacd, and he blaimed libtool for not including /usr/local/lib into -L path. Well, whoever is at fault the port is still broken, although not as much as before. 2) Port's Makefile has this weird MAKE_ENV= CC=cc in it. Not only does it make the port ignore local settings in (/etc/make.conf), it is also not needed. CC is passed to build by bsd.port.mk . At least, the line should read ``CC="${CC}"'', but better not have it at all. >How-To-Repeat: Just build the port. >Fix: See description. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message