Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2003 18:20:16 -0700 (PDT)
From:      "Scot W. Hetzel" <hetzelsw@westbend.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/56658: Convert security/amavisd startup scripts to use rc.subr
Message-ID:  <200309110120.h8B1KGIY083469@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/56658; it has been noted by GNATS.

From: "Scot W. Hetzel" <hetzelsw@westbend.net>
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
 + 
 + 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309110120.h8B1KGIY083469>