Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 23:03:26 -0700 (PDT)
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tobez@freebsd.org
Subject:   ports/31546: [MAINTAINER UPDATE] Tweak libesmtp for the "auto[crash]" :)
Message-ID:  <20011028060326.E181E15503@johncoop.MSHOME>

next in thread | raw e-mail | index | archive | help

>Number:         31546
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Tweak libesmtp for the "auto[crash]" :)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 27 23:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD johncoop.MSHOME 4.4-STABLE FreeBSD 4.4-STABLE #36: Fri Oct 26 20:12:59 PDT 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	In preparation for the switch to autoconf-2.52, etc., I've tweaked
	things as best I can without having an "official" autoconf-2.52
	port to work with.

	Also:

	* remove Balsa site and volunteer my own personal website to host
	  the tarball (Balsa just has RPM's now . . .)
	* pruned obsolete configure flags (config.guess now has freebsd in
	  it, starttls is locked on by default now, etc.)
	* made PTHREADs functional

	Autoconf'ing still proves necessary.  The configure as built by
	Brian Stafford just refuses to run on FreeBSD.

	All this has been tested on Balsa-1.2.1 (still waiting for GNOME-land
	to commit)

	I'm sure there will be more . . . :)

>How-To-Repeat:
	N/A

>Fix:

	Only the Makefile changes.  diff -ruN follows:

diff -ruN libesmtp/Makefile libesmtp.new/Makefile
--- libesmtp/Makefile	Sat Oct 20 09:38:54 2001
+++ libesmtp.new/Makefile	Sat Oct 27 21:56:01 2001
@@ -2,31 +2,38 @@
 # Date created:         Sun Feb 21 2001
 # Whom:                 tobez@tobez.org
 #
-# $FreeBSD: ports/mail/libesmtp/Makefile,v 1.10 2001/10/20 13:15:34 ijliao Exp $
+# $FreeBSD$
 
 PORTNAME=	libesmtp
 PORTVERSION=	0.8.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail
 MASTER_SITES=	http://www.stafford.uklinux.net/libesmtp/ \
-		http://www.theochem.kth.se/~pawsa/balsa/ \
-		http://www.tobez.org/download/port-mirrors/mail/libesmtp/
+		http://www.tobez.org/download/port-mirrors/mail/libesmtp/ \
+		http://www.borgsdemons.com/distfiles/
 
 MAINTAINER=	jmcoopr@webmail.bmi.net
 
-LIB_DEPENDS=	ltdl.1:${PORTSDIR}/devel/libtool
-
 USE_BZIP2=	yes
 USE_GMAKE=	yes
 USE_OPENSSL=	yes
 USE_AUTOCONF=	yes
+USE_LIBTOOL=	yes
+LIBTOOLFILES=	${WRKSRC}/aclocal.m4 ${WRKSRC}/libltdl/aclocal.m4
 INSTALLS_SHLIB=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+# require-all-recipients is required for Balsa-1.2.x
+CONFIGURE_ARGS=	--enable-require-all-recipients \
+		--enable-etrn \
+		--disable-ltdl-install
+
+pre-patch:
+	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure.in
 
-# require-all-recipients is required for Balsa-1.1.7
-CONFIGURE_ARGS=	--enable-require-all-recipients --enable-starttls
+pre-build:
+	@${CP} ${WRKSRC}/libltdl/libtool ${WRKSRC}/libtool
 
 post-install:
 .ifndef(NOPORTDOCS)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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