diff options
author | clement <clement@FreeBSD.org> | 2004-01-18 11:47:06 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-18 11:47:06 +0000 |
commit | 33ba29ece05408dd3a471cb5eb771231e418d682 (patch) | |
tree | cdf328167a3da52639bb51861a451692baf95af6 | |
parent | 572709b4ce8fb61dd4343105bd0e1d27a01df2d9 (diff) | |
download | FreeBSD-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)
-rw-r--r-- | mail/libesmtp/Makefile | 4 |
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} |