diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-05 08:19:28 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-05 08:19:28 +0800 |
commit | 68c28b7e88f792688b4eac72dced216968bcc7b0 (patch) | |
tree | acc833fdd3bc1a43afdbfeec4716b38c0a312fe3 /java | |
parent | 203c3439aa86e1e03f3b66c6813c802eee968d41 (diff) | |
download | freebsd-ports-graphics-68c28b7e88f792688b4eac72dced216968bcc7b0.tar.gz freebsd-ports-graphics-68c28b7e88f792688b4eac72dced216968bcc7b0.tar.zst freebsd-ports-graphics-68c28b7e88f792688b4eac72dced216968bcc7b0.zip |
Fixed pre-patch target broken due to REINPLACE_CMD
Noticed by: bento
Diffstat (limited to 'java')
-rw-r--r-- | java/netrexx/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/netrexx/Makefile b/java/netrexx/Makefile index aad621d9e99..8a6496fcc8b 100644 --- a/java/netrexx/Makefile +++ b/java/netrexx/Makefile @@ -22,8 +22,10 @@ USE_ZIP= yes USE_REINPLACE= yes pre-patch: - @${REINPLACE_CMD} -e 's/\015//' ${WRKSRC}/bin/NetRexxC.sh - @${REINPLACE_CMD} -e 's/\015//' ${WRKSRC}/read.me.first + for file in ${WRKSRC}/bin/NetRexxC.sh ${WRKSRC}/read.me.first; do \ + ${TR} -d '\015' < $${file} > $${file}.new; \ + ${MV} $${file}.new $${file}; \ + done do-install: @${INSTALL_SCRIPT} ${WRKSRC}/bin/NetRexxC.sh ${PREFIX}/bin |