mirror of https://git.FreeBSD.org/ports.git
parent
071398509e
commit
071398600d
|
@ -24,4 +24,10 @@ CONFIGURE_ARGS= </dev/null
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|($$maj, $$min, $$sub)|&; &|' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} >= 504200
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-Makefile.PL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
fix sh: Syntax error: Unterminated quoted string
|
||||
Filter command '"sed" "-e" "s\"' failed
|
||||
|
||||
--- Makefile.PL.orig 2025-07-13 08:56:55 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -21,7 +21,7 @@ WriteMakefile(
|
||||
'PREREQ_PM' => {
|
||||
'POE' => '0.22',
|
||||
},
|
||||
- PM_FILTER => "sed -e s\\#__DEFAULT_RRDTOOL__\\#${DEFAULT_RRDTOOL}\\#g -e s\\#__RRDTOOL_VERSION__\\#${RRDTOOL_VERSION}\\#g",
|
||||
+ PM_FILTER => "sed -e s=__DEFAULT_RRDTOOL__=${DEFAULT_RRDTOOL}=g -e s=__RRDTOOL_VERSION__=${RRDTOOL_VERSION}=g",
|
||||
(($] ge '5.005') ?
|
||||
( 'AUTHOR' => 'Todd Caine <todd@pobox.com>',
|
||||
'ABSTRACT' => 'POE interface to Tobias Oetiker\'s RRDTool',
|
|
@ -16,4 +16,10 @@ RUN_DEPENDS= pdflib-perl>=0:print/pdflib-perl \
|
|||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} >= 504200
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-Makefile.PL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
fix sh: Syntax error: Unterminated quoted string
|
||||
|
||||
--- Makefile.PL.orig 2025-07-13 09:16:55 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -28,8 +28,8 @@ my $pm_filter = $use_unicode
|
||||
}
|
||||
|
||||
my $pm_filter = $use_unicode
|
||||
- ? q{perl -pi -e "s!UNI_YES ! !g;s!UNI_NO !\\#!g"}
|
||||
- : q{perl -pi -e "s!UNI_NO ! !g;s!UNI_YES !\\#!g"};
|
||||
+ ? q{sed -e "s/UNI_YES//g;s/UNI_NO.*//g"}
|
||||
+ : q{sed -e "s/UNI_NO//g;s/UNI_YES.*//g"};
|
||||
|
||||
WriteMakefile(
|
||||
NAME => 'PDF::Template',
|
|
@ -20,4 +20,10 @@ GH_ACCOUNT= glebius
|
|||
pre-install:
|
||||
${STRIP_CMD} ${WRKSRC}/blib/arch/auto/BSD/Sysctl/Sysctl.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} >= 504200
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extrapatch-Makefile.PL
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
--- Makefile.PL.orig 2025-07-26 06:21:52 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -51,13 +51,7 @@ WriteMakefile(
|
||||
PREREQ_PM => {
|
||||
'XSLoader' => 0
|
||||
},
|
||||
- PM_FILTER => 'perl -pe "if (/^\#include (.+)$$/) { \
|
||||
- open FILE, \\$$1 or \
|
||||
- die \"open \\$$1\"; \
|
||||
- while (<FILE>) { print; }; \
|
||||
- close FILE; \
|
||||
- next; \
|
||||
- };"',
|
||||
+ PM_FILTER => q{perl -pe 'if (/^#include (.+)$$/) { open FILE, \\$$1 or die; while (<FILE>) { print; }; close FILE; next; };'},
|
||||
clean => {
|
||||
FILES => 'bsd-sysctl.h bsd-sysctl.ph',
|
||||
},
|
Loading…
Reference in New Issue