fix warning and future error about unescaped left brace in perl regex
This commit is contained in:
parent
b60c5d17e7
commit
4a54012c9a
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.29 2019/02/18 14:27:25 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.30 2019/04/04 03:38:12 naddy Exp $
|
||||
|
||||
COMMENT= once-popular mail user agent
|
||||
|
||||
@ -31,7 +31,7 @@ pre-configure:
|
||||
@mv ${WRKSRC}/nls/LANGS.new ${WRKSRC}/nls/LANGS
|
||||
|
||||
post-configure:
|
||||
@perl -pi.bak -e 's,\$${DESTDIR},,g;' \
|
||||
@perl -pi.bak -e 's,\$$\{DESTDIR},,g;' \
|
||||
${WRKBUILD}/config.h ${WRKBUILD}/hdrs/sysdefs.h \
|
||||
${WRKBUILD}/utils/{checkalias,listalias,messages,printmail}
|
||||
@perl -pi.bak -e 's,-..MAKEFLAGS..,,g;' ${WRKBUILD}/Makefile
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2016/03/11 19:59:16 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2019/04/04 03:38:12 naddy Exp $
|
||||
|
||||
COMMENT = high level firewall language
|
||||
|
||||
@ -26,7 +26,7 @@ CONFIGURE_STYLE = gnu
|
||||
NO_TEST = Yes
|
||||
|
||||
pre-install:
|
||||
@perl -pi -e 's#\$${prefix}\/share\/hlfl\/services\.hlfl#${SYSCONFDIR}/services.hlfl#' ${WRKSRC}/doc/hlfl.1
|
||||
@perl -pi -e 's#\$${prefix}\/share#${PREFIX}/share/examples#' ${WRKSRC}/doc/hlfl.1
|
||||
@perl -pi -e 's#\$$\{prefix}\/share\/hlfl\/services\.hlfl#${SYSCONFDIR}/services.hlfl#' ${WRKSRC}/doc/hlfl.1
|
||||
@perl -pi -e 's#\$$\{prefix}\/share#${PREFIX}/share/examples#' ${WRKSRC}/doc/hlfl.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user