aboutsummaryrefslogtreecommitdiff
path: root/mail/libesmtp
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2001-10-30 21:59:31 +0000
committerAnton Berezin <tobez@FreeBSD.org>2001-10-30 21:59:31 +0000
commit00abf90bb31b0bd648db74cb9a35264fa30aadb3 (patch)
tree9996d281863270fa49a78743b74670ba6bcdf299 /mail/libesmtp
parent44584ed94ba58fb86e6e473b3b277ad0475d6e74 (diff)
downloadports-00abf90bb31b0bd648db74cb9a35264fa30aadb3.tar.gz
ports-00abf90bb31b0bd648db74cb9a35264fa30aadb3.zip
Notes
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile25
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)