diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-13 08:16:01 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-08-13 08:16:01 +0000 |
commit | e12c0fa3709f50c0a4e9f0cd917d58e25543e450 (patch) | |
tree | ac0e44825c7361ddc20dbcb53a8c62985e8254dc /finance/qhacc | |
parent | Utilize INFO variable. (diff) |
Fix qhacc script to handle bash properly
PR: 55516
Submitted by: Ruslan Babayev <ruslan@babayev.com>
Notes
Notes:
svn path=/head/; revision=86873
Diffstat (limited to 'finance/qhacc')
-rw-r--r-- | finance/qhacc/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile index 4b1fb5e58873..20a103585c07 100644 --- a/finance/qhacc/Makefile +++ b/finance/qhacc/Makefile @@ -7,6 +7,7 @@ PORTNAME= qhacc PORTVERSION= 2.9 +PORTREVISION= 1 CATEGORIES= finance MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -31,8 +32,9 @@ STRIP= # none post-patch: @${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|#! /bin/sh|#!${LOCALBASE}/bin/bash|g ; \ - s|/usr/local/|${PREFIX}/lib/|g' ${WRKSRC}/src/qhacc.orig + @${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/lib/|g ; \ + s|#! /bin/sh|#!${LOCALBASE}/bin/bash|g' \ + ${WRKSRC}/src/qhacc.orig @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-O2 -Wall -g||g ; \ s|contrib docs qm|contrib|g ; \ |