aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-04 19:44:41 +0800
committerbapt <bapt@FreeBSD.org>2014-04-04 19:44:41 +0800
commit73224d4835589baa16888a620de5a931b10b2174 (patch)
treed4c8afe6d32548dfcca6f9d9e58d4d71dc77b42e /news
parente41a15aa64ec9450540684a9d6533acfaa28555c (diff)
downloadfreebsd-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')
-rw-r--r--news/sn/Makefile7
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: