Update libesmtp to libestmp-0.8.7. The POSIX thread detection logic is now more friendly to FreeBSD, so use it. The patch to header.c has been incorporated--obsoleting it. The configure script, as supplied by the author still won't run. Fix: makepatch -nomanifest -diff "diff -u" libesmtp libesmtp.new follows (a fancy diff -ruN--see textproc/makepatch): # This is a patch for libesmtp to update it to libesmtp.new # # To apply this patch: # STEP 1: Chdir to the source directory. # STEP 2: Run the 'applypatch' program with this patch file as input. # # If you do not have 'applypatch', it is part of the 'makepatch' package # that you can fetch from the Comprehensive Perl Archive Network: # http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz # In the above URL, 'x' should be 2 or higher. # # To apply this patch without the use of 'applypatch': # STEP 1: Chdir to the source directory. # If you have a decent Bourne-type shell: # STEP 2: Run the shell with this file as input. # If you don't have such a shell, you may need to manually delete # the files as shown below. # STEP 3: Run the 'patch' program with this file as input. # # These are the commands needed to create/delete files/directories: # rm -f 'files/patch-headers.c' # # This command terminates the shell and need not be executed manually. exit # #### End of Preamble #### #### Patch data follows #### #### ApplyPatch data follows #### # Data version : 1.0 # Date generated : Wed Nov 7 20:42:16 2001 # Generated by : makepatch 2.00 # Recurse directories : Yes # r 'files/patch-headers.c' 392 0 # p 'Makefile' 1447 1005193879 0100644 # p 'distinfo' 64 1005190156 0100644 #### End of ApplyPatch data #### #### End of Patch kit [created: Wed Nov 7 20:42:16 2001] #### #### Checksum: 89 3090 43674 ####--gn2TtJiIvS67JKZFTGMCHRAXfq9I0ReWQOLlSxYuHdbGmCy0 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" diff -u 'libesmtp/Makefile' 'libesmtp.new/Makefile' Index: ./Makefile --- ./Makefile Tue Oct 30 23:04:27 2001 +++ ./Makefile Wed Nov 7 20:31:19 2001 @@ -2,11 +2,10 @@ # Date created: Sun Feb 21 2001 # Whom: tobez@tobez.org # -# $FreeBSD: ports/mail/libesmtp/Makefile,v 1.11 2001/10/30 21:59:31 tobez Exp $ +# $FreeBSD$ PORTNAME= libesmtp -PORTVERSION= 0.8.6 -PORTREVISION= 2 +PORTVERSION= 0.8.7 CATEGORIES= mail MASTER_SITES= http://www.stafford.uklinux.net/libesmtp/ \ http://www.tobez.org/download/port-mirrors/mail/libesmtp/ \ @@ -21,16 +20,14 @@ USE_LIBTOOL= yes LIBTOOLFILES= ${WRKSRC}/aclocal.m4 ${WRKSRC}/libltdl/aclocal.m4 INSTALLS_SHLIB= yes -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -# require-all-recipients is required for Balsa-1.2.x -CONFIGURE_ARGS= --enable-require-all-recipients \ - --enable-etrn \ +# require-all-recipients (implied by enable-all) is required for Balsa-1.2.x +CONFIGURE_ARGS= --enable-all \ --disable-ltdl-install - -pre-patch: - @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure.in pre-build: @${CP} ${WRKSRC}/libltdl/libtool ${WRKSRC}/libtool diff -u 'libesmtp/distinfo' 'libesmtp.new/distinfo' Index: ./distinfo --- ./distinfo Thu Oct 18 05:49:57 2001 +++ ./distinfo Wed Nov 7 19:29:16 2001 @@ -1 +1 @@ -MD5 (libesmtp-0.8.6.tar.bz2) = 2b0faec540e606109535f6ba76f3a45b +MD5 (libesmtp-0.8.7.tar.bz2) = e42722f24a5f8cfe250e3c9c3b64cd0a #### End of Patch data #### How-To-Repeat: N/A
State Changed From-To: open->closed Update committed, thanks!