From owner-freebsd-ports Sat Oct 27 23:10:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7426037B406 for ; Sat, 27 Oct 2001 23:10:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9S6A1095954; Sat, 27 Oct 2001 23:10:01 -0700 (PDT) (envelope-from gnats) Received: from yoda.bmi.net (yoda.bmi.net [204.57.191.163]) by hub.freebsd.org (Postfix) with ESMTP id 1E02C37B408; Sat, 27 Oct 2001 23:03:35 -0700 (PDT) Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged)) by yoda.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id XAA23557; Sat, 27 Oct 2001 23:00:55 -0700 Received: by johncoop.MSHOME (Postfix, from userid 0) id E181E15503; Sat, 27 Oct 2001 23:03:26 -0700 (PDT) Message-Id: <20011028060326.E181E15503@johncoop.MSHOME> Date: Sat, 27 Oct 2001 23:03:26 -0700 (PDT) From: John Merryweather Cooper Reply-To: John Merryweather Cooper To: FreeBSD-gnats-submit@freebsd.org Cc: tobez@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/31546: [MAINTAINER UPDATE] Tweak libesmtp for the "auto[crash]" :) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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