diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-05 00:19:28 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-05 00:19:28 +0000 |
commit | d9a243c1c4b901ef45968813bc2d34aa2d769d25 (patch) | |
tree | 2e585b1e8f370afdcad86b1cd91ebe443d00a430 /java/netrexx/Makefile | |
parent | Unbreak building of graphics/dc20pack. (diff) |
Fixed pre-patch target broken due to REINPLACE_CMD
Noticed by: bento
Notes
Notes:
svn path=/head/; revision=69482
Diffstat (limited to '')
-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 aad621d9e99d..8a6496fcc8b9 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 |