1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

databases/p5-Xapian: Convert REINPLACE_CMD to patch file

This commit is contained in:
Po-Chuan Hsieh 2024-04-13 17:28:58 +08:00
parent 06ba4fcc3b
commit 8869e4acc8
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 2 deletions

View File

@ -40,8 +40,7 @@ PORTSCOUT= limitw:1,even
OPTIONS_DEFINE= DOCS
post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's| install-dist_exampledataDATA install-docdataDATA||' ${WRKSRC}/perl/Makefile.in
DOCS_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-perl-Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Xapian/Xapian.so

View File

@ -0,0 +1,13 @@
--- perl/Makefile.in.orig 2024-03-07 22:58:53 UTC
+++ perl/Makefile.in
@@ -1379,8 +1379,8 @@ info-am:
info-am:
-install-data-am: install-data-local install-dist_exampledataDATA \
- install-docdataDATA install-nobase_dist_perllibDATA \
+install-data-am: \
+ install-nobase_dist_perllibDATA \
install-perlarchLTLIBRARIES
@$(NORMAL_INSTALL)
$(MAKE) $(AM_MAKEFLAGS) install-data-hook