svn commit: r549948 - head/mail/mboxgrep
Christoph Moench-Tegeder
cmt at FreeBSD.org
Thu Sep 24 20:35:58 UTC 2020
Author: cmt
Date: Thu Sep 24 20:35:57 2020
New Revision: 549948
URL: https://svnweb.freebsd.org/changeset/ports/549948
Log:
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
Modified:
head/mail/mboxgrep/Makefile
Modified: head/mail/mboxgrep/Makefile
==============================================================================
--- head/mail/mboxgrep/Makefile Thu Sep 24 20:29:35 2020 (r549947)
+++ head/mail/mboxgrep/Makefile Thu Sep 24 20:35:57 2020 (r549948)
@@ -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
More information about the svn-ports-head
mailing list