aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2020-09-24 20:35:57 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2020-09-24 20:35:57 +0000
commitbeefb9f9494a1cafd4f5862d22e7275b8c387520 (patch)
treea2583e30f7902a3e7dbc499cabfe9e6b14f1bc77 /mail
parentfbf95f4a644762ee7259def9b3f2d1490ff2ba09 (diff)
downloadports-beefb9f9494a1cafd4f5862d22e7275b8c387520.tar.gz
ports-beefb9f9494a1cafd4f5862d22e7275b8c387520.zip
fix staging of mboxgrep
- post-patch happens after configure, at which point modifying Makefile.in is pointless, but we have pre-configure, which does the job. - patching in $(DESTDIR) into src/Makefile.in already happens in patch-src_Makefile.in, so remove it from the REINPLACEing
Notes
Notes: svn path=/head/; revision=549948
Diffstat (limited to 'mail')
-rw-r--r--mail/mboxgrep/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/mboxgrep/Makefile b/mail/mboxgrep/Makefile
index 4461fc12cba5..cde55537efcf 100644
--- a/mail/mboxgrep/Makefile
+++ b/mail/mboxgrep/Makefile
@@ -29,10 +29,9 @@ OPTIONS_DEFINE= DOCS PCRE
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
-pre-build:
+pre-configure:
@${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
- @${REINPLACE_CMD} -e 's,$$(prefix),$$(DESTDIR)$$(prefix),g' \
- -e 's,$$(mandir),$$(DESTDIR)$$(mandir),g' \
+ @${REINPLACE_CMD} -e 's,$$(mandir),$$(DESTDIR)$$(mandir),g' \
-e 's,$$(infodir),$$(DESTDIR)$$(infodir),g' \
${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in