mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
33279903bf
commit
a4a78d0d99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558504
2 changed files with 13 additions and 4 deletions
|
@ -17,11 +17,9 @@ LICENSE_COMB= dual
|
|||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= p5-App-Options>=0:devel/p5-App-Options
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_PERL5= configure
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/NAME/ s|App-Trace|App::Trace|' ${WRKSRC}/Makefile.PL
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
11
devel/p5-App-Trace/files/patch-Makefile.PL
Normal file
11
devel/p5-App-Trace/files/patch-Makefile.PL
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.PL.orig 2006-08-11 02:38:47 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -8,7 +8,7 @@ use ExtUtils::MakeMaker;
|
||||
# the contents of the Makefile that is written.
|
||||
|
||||
%opts = (
|
||||
- 'NAME' => 'App-Trace',
|
||||
+ 'NAME' => 'App::Trace',
|
||||
'DISTNAME' => 'App-Trace',
|
||||
'VERSION_FROM' => 'lib/App/Trace.pm',
|
||||
'PREREQ_PM' => {
|
Loading…
Add table
Reference in a new issue