mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
databases/p5-Search-Xapian: Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
f70da067ae
commit
06ba4fcc3b
@ -26,9 +26,6 @@ CONFIGURE_ARGS= XAPIAN_CONFIG=${LOCALBASE}/bin/xapian-config
|
||||
|
||||
CONFLICTS_INSTALL= p5-Search-Xapian12 # lib/perl5/site_perl/mach/5.32/Search/Xapian.pm
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|^if (defined $$builddir) {|if (0) {|' ${WRKSRC}/Makefile.PL
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Search/Xapian/Xapian.so
|
||||
|
||||
|
11
databases/p5-Search-Xapian/files/patch-Makefile.PL
Normal file
11
databases/p5-Search-Xapian/files/patch-Makefile.PL
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.PL.orig 2020-11-22 06:53:13 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -268,7 +268,7 @@ if (scalar @bad) {
|
||||
|
||||
# If we're doing a fake VPATH build, add a stub Makefile which forwards all
|
||||
# invocations (.DEFAULT is a GNU-make-ism).
|
||||
-if (defined $builddir) {
|
||||
+if (0) {
|
||||
open M, '>', "$builddir/Makefile~" or die $!;
|
||||
print M <<"EOF";
|
||||
all .DEFAULT:
|
Loading…
Reference in New Issue
Block a user