Simplify post-patch target
Submitted by: sunpoet Feature safe: yes
This commit is contained in:
parent
5958de1076
commit
d0251b8742
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308260
@ -18,11 +18,7 @@ post-configure:
|
||||
${PERL} -pi -e 's/-I\S+PERL\S+ //g if m{PERL_DL_NONLAZY}' ${WRKSRC}/Makefile
|
||||
|
||||
post-patch:
|
||||
@${CP} ${WRKSRC}/IP.pm ${WRKSRC}/IP.pm.presed
|
||||
@${SED} -e "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm.presed > \
|
||||
${WRKSRC}/IP.pm
|
||||
@${CP} ${WRKSRC}/ipcount ${WRKSRC}/ipcount.presed
|
||||
@${SED} -e "76s#count#count = 0#" ${WRKSRC}/ipcount.presed > \
|
||||
${WRKSRC}/ipcount
|
||||
${REINPLACE_CMD} "1853s#\\s+#\s*#g" ${WRKSRC}/IP.pm
|
||||
${REINPLACE_CMD} "76s#count#count = 0#" ${WRKSRC}/ipcount
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user