diff options
author | tobez <tobez@FreeBSD.org> | 2001-10-31 05:59:31 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2001-10-31 05:59:31 +0800 |
commit | 842ea05cfcc529f92e9138da9998dad56ed677d3 (patch) | |
tree | e6430b9a05bee8043ddf57393c8e028803622f9e /mail/libesmtp | |
parent | d6bee36eb1804e574e8da4b753bbaee9765c2d34 (diff) | |
download | freebsd-ports-gnome-842ea05cfcc529f92e9138da9998dad56ed677d3.tar.gz freebsd-ports-gnome-842ea05cfcc529f92e9138da9998dad56ed677d3.tar.zst freebsd-ports-gnome-842ea05cfcc529f92e9138da9998dad56ed677d3.zip |
Prepare this port to the forthcoming autoconf-2.52.
Remove Balsa site and volunteer maintainer's own personal website to
host the tarball.
Prune obsolete configure flags.
Make PTHREADs functional.
PR: 31546
Submitted by: Maintainer
Diffstat (limited to 'mail/libesmtp')
-rw-r--r-- | mail/libesmtp/Makefile | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile index 7c9390f019bd..bc9b34cf0cff 100644 --- a/mail/libesmtp/Makefile +++ b/mail/libesmtp/Makefile @@ -6,27 +6,34 @@ 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) |