Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
30a76f7f84
commit
4ef4c50d5d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533024
@ -17,14 +17,10 @@ LICENSE_COMB= dual
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= p5-Tk>=800.015:x11-toolkits/p5-Tk
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
ALL_TARGETS= pure_install
|
||||
NO_ARCH= yes
|
||||
USE_PERL5= configure
|
||||
USES= perl5
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/Tk\/demos\/widtrib\/cursor.pl/ s|cursor.pl|cursorcontrol.pl|' \
|
||||
${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
11
x11-toolkits/p5-Tk-CursorControl/files/patch-Makefile.PL
Normal file
11
x11-toolkits/p5-Tk-CursorControl/files/patch-Makefile.PL
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.PL.orig 2002-12-13 15:59:56 UTC
|
||||
+++ Makefile.PL
|
||||
@@ -16,7 +16,7 @@ WriteMakefile(
|
||||
'trans_cur.mask' => '$(INST_LIB)/Tk/trans_cur.mask',
|
||||
'demos/cursor.pl' => ($] >= 5.005
|
||||
? '$(INST_ARCHLIB)'
|
||||
- : '$(INST_LIB)') . '/Tk/demos/widtrib/cursor.pl',
|
||||
+ : '$(INST_LIB)') . '/Tk/demos/widtrib/cursorcontrol.pl',
|
||||
},
|
||||
|
||||
'PREREQ_PM' => {
|
Loading…
Reference in New Issue
Block a user