aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mboxgrep
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-12-23 04:01:04 +0800
committerleeym <leeym@FreeBSD.org>2003-12-23 04:01:04 +0800
commit83f8804f421effe987b556653a13da7096687e7b (patch)
treee1dc16eee6958baa55e529f31d9b410ad7900eae /mail/mboxgrep
parent398b16a8d8686ac51d217989a31093dc3a23542e (diff)
downloadfreebsd-ports-gnome-83f8804f421effe987b556653a13da7096687e7b.tar.gz
freebsd-ports-gnome-83f8804f421effe987b556653a13da7096687e7b.tar.zst
freebsd-ports-gnome-83f8804f421effe987b556653a13da7096687e7b.zip
fix this port on -stable
PR: 56356 Noticed by: anders
Diffstat (limited to 'mail/mboxgrep')
-rw-r--r--mail/mboxgrep/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mboxgrep/Makefile b/mail/mboxgrep/Makefile
index 6202b8bb0f0a..213f6930f656 100644
--- a/mail/mboxgrep/Makefile
+++ b/mail/mboxgrep/Makefile
@@ -19,14 +19,17 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
.endif
GNU_CONFIGURE= yes
-CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+USE_REINPLACE= yes
MAN1= mboxgrep.1
INFO= mboxgrep
DOCS= ChangeLog NEWS README TODO
+post-patch:
+ @${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
+
post-install:
install-info ${PREFIX}/info/mboxgrep.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)