diff options
author | bapt <bapt@FreeBSD.org> | 2014-04-04 19:44:41 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-04-04 19:44:41 +0800 |
commit | 73224d4835589baa16888a620de5a931b10b2174 (patch) | |
tree | d4c8afe6d32548dfcca6f9d9e58d4d71dc77b42e /news/sn | |
parent | e41a15aa64ec9450540684a9d6533acfaa28555c (diff) | |
download | freebsd-ports-gnome-73224d4835589baa16888a620de5a931b10b2174.tar.gz freebsd-ports-gnome-73224d4835589baa16888a620de5a931b10b2174.tar.zst freebsd-ports-gnome-73224d4835589baa16888a620de5a931b10b2174.zip |
Fix bash detection in the makefile
Reported by: QAT
Diffstat (limited to 'news/sn')
-rw-r--r-- | news/sn/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/news/sn/Makefile b/news/sn/Makefile index a190edfa24a5..2030e3e6ab3f 100644 --- a/news/sn/Makefile +++ b/news/sn/Makefile @@ -3,7 +3,7 @@ PORTNAME= sn PORTVERSION= 0.3.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= news MASTER_SITES= http://www.infa.abo.fi/~patrik/sn/files/ \ http://home.arcor.de/teambushido/fbsd_ports/ \ @@ -14,6 +14,8 @@ COMMENT= Small news system for small sites serving LICENSE= GPLv2 +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash + USES= gmake tar:bzip2 MAKE_ARGS+= PREFIX="${PREFIX}" LD="${CC}" CC="${CC}" @@ -30,7 +32,8 @@ post-patch: ${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \ s|snlockf\.o$$|& lib/libstuff.a| ; \ s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic| ; \ - s|strip |${STRIP_CMD} |' \ + s|strip |${STRIP_CMD} | ; \ + s|/bin/bash|${LOCALBASE}/bin/bash|' \ ${WRKSRC}/Makefile pre-install: |