From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 10 18:20:17 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49A3016A4BF for ; Wed, 10 Sep 2003 18:20:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C648D43FF2 for ; Wed, 10 Sep 2003 18:20:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8B1KGUp083470 for ; Wed, 10 Sep 2003 18:20:16 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8B1KGIY083469; Wed, 10 Sep 2003 18:20:16 -0700 (PDT) Date: Wed, 10 Sep 2003 18:20:16 -0700 (PDT) Message-Id: <200309110120.h8B1KGIY083469@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Scot W. Hetzel" Subject: Re: ports/56658: Convert security/amavisd startup scripts to use rc.subr X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Scot W. Hetzel" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 01:20:17 -0000 The following reply was made to PR ports/56658; it has been noted by GNATS. From: "Scot W. Hetzel" To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/56658: Convert security/amavisd startup scripts to use rc.subr Date: Wed, 10 Sep 2003 20:13:04 -0500 (CDT) Acording to Greg Shapiro, sendmail 8.12.9 no longer needs libsm.a library when building milter daemons. The configure script in amavisd has an error where it adds "-lsm" to LIBS, when all tests fail to find a *strlcpy. Below is a patch that fixes the configure script by moving the assignment of "-lsm" into the HAVE_SM_SM_STRLCPY test, which makes it similar to the HAVE_SMUTIL_STRLCPY test. Scot W. Hetzel Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-configure 11 Sep 2003 00:34:39 -0000 @@ -0,0 +1,15 @@ +--- configure-orig Wed Feb 19 08:22:25 2003 ++++ configure Wed Sep 10 19:34:30 2003 +@@ -3083,11 +3083,11 @@ + #define HAVE_SM_SM_STRLCPY 1 + EOF + ++ LIBS="-lsm $LIBS" + else + echo "$ac_t""no" 1>&6 + fi + +- LIBS="-lsm $LIBS" + fi + +