summaryrefslogtreecommitdiffstats
path: root/mail/libesmtp
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-01-18 11:47:06 +0000
committerclement <clement@FreeBSD.org>2004-01-18 11:47:06 +0000
commit33ba29ece05408dd3a471cb5eb771231e418d682 (patch)
treecdf328167a3da52639bb51861a451692baf95af6 /mail/libesmtp
parent572709b4ce8fb61dd4343105bd0e1d27a01df2d9 (diff)
downloadFreeBSD-ports-33ba29ece05408dd3a471cb5eb771231e418d682.zip
FreeBSD-ports-33ba29ece05408dd3a471cb5eb771231e418d682.tar.gz
s/memrchr/memchr/.
It fixes an 'undefined reference to `memrchr''. Approved by: maintainer Approved by: erwin (mentor) (implicitly)
Diffstat (limited to 'mail/libesmtp')
-rw-r--r--mail/libesmtp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index b3cfaf2..4bbf2ec 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -20,6 +20,7 @@ USE_GMAKE= yes
USE_OPENSSL= yes
USE_LIBTOOL= yes
USE_PERL5_BUILD=yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
@@ -33,6 +34,9 @@ CONFIGURE_ARGS= --enable-all --disable-isoc
DOCS= AUTHORS ChangeLog NEWS Notes README TODO
EXAMPLES= examples/*
+post-patch:
+ @${REINPLACE_CMD} 's,memrchr,memchr,' ${WRKSRC}/smtp-tls.c
+
post-install:
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
OpenPOWER on IntegriCloud