diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-04 11:44:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-04 11:44:41 +0000 |
commit | 6ce8b0ec31011538c868dc2d1b5254125f2bc24e (patch) | |
tree | d4c8afe6d32548dfcca6f9d9e58d4d71dc77b42e /news | |
parent | mail/getlive: Use shebangfix, bump PORTREVISION (diff) |
Fix bash detection in the makefile
Reported by: QAT
Notes
Notes:
svn path=/head/; revision=350100
Diffstat (limited to 'news')
-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: |