diff options
author | krion <krion@FreeBSD.org> | 2003-08-13 16:16:01 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2003-08-13 16:16:01 +0800 |
commit | 37169c20a9521c51cc8475953078f85d90ec6ced (patch) | |
tree | 3f7c88e7f5e48585e0c4e5406b3566fd9e37e38f /finance | |
parent | 55f61c7f22564a0660460d51c2c4fd83f5560624 (diff) | |
download | freebsd-ports-gnome-37169c20a9521c51cc8475953078f85d90ec6ced.tar.gz freebsd-ports-gnome-37169c20a9521c51cc8475953078f85d90ec6ced.tar.zst freebsd-ports-gnome-37169c20a9521c51cc8475953078f85d90ec6ced.zip |
Fix qhacc script to handle bash properly
PR: 55516
Submitted by: Ruslan Babayev <ruslan@babayev.com>
Diffstat (limited to 'finance')
-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 ; \ |