diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-10-30 21:59:31 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-10-30 21:59:31 +0000 |
commit | 00abf90bb31b0bd648db74cb9a35264fa30aadb3 (patch) | |
tree | 9996d281863270fa49a78743b74670ba6bcdf299 /mail/libesmtp/Makefile | |
parent | Fix pkg-plist. (diff) |
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 '')
-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) |