From ae2a0c251d844808613b1ff46822220958274a81 Mon Sep 17 00:00:00 2001 From: Clement Laforet Date: Sun, 18 Jan 2004 11:47:06 +0000 Subject: s/memrchr/memchr/. It fixes an 'undefined reference to `memrchr''. Approved by: maintainer Approved by: erwin (mentor) (implicitly) --- mail/libesmtp/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/libesmtp') 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} -- cgit v1.2.3