diff options
author | clement <clement@FreeBSD.org> | 2004-01-18 19:47:06 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-18 19:47:06 +0800 |
commit | 33ba29ece05408dd3a471cb5eb771231e418d682 (patch) | |
tree | cdf328167a3da52639bb51861a451692baf95af6 /mail/libesmtp | |
parent | 572709b4ce8fb61dd4343105bd0e1d27a01df2d9 (diff) | |
download | freebsd-ports-gnome-33ba29ece05408dd3a471cb5eb771231e418d682.tar.gz freebsd-ports-gnome-33ba29ece05408dd3a471cb5eb771231e418d682.tar.zst freebsd-ports-gnome-33ba29ece05408dd3a471cb5eb771231e418d682.zip |
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/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile index b3cfaf262e2a..4bbf2ec23936 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} |