diff --git a/databases/p5-Xapian/Makefile b/databases/p5-Xapian/Makefile index b3549f5bcc52..d1decc498b76 100644 --- a/databases/p5-Xapian/Makefile +++ b/databases/p5-Xapian/Makefile @@ -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 diff --git a/databases/p5-Xapian/files/extra-patch-perl-Makefile.in b/databases/p5-Xapian/files/extra-patch-perl-Makefile.in new file mode 100644 index 000000000000..ee0759f46388 --- /dev/null +++ b/databases/p5-Xapian/files/extra-patch-perl-Makefile.in @@ -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