svn commit: r350100 - head/news/sn
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 4 11:44:41 UTC 2014
Author: bapt
Date: Fri Apr 4 11:44:41 2014
New Revision: 350100
URL: http://svnweb.freebsd.org/changeset/ports/350100
QAT: https://qat.redports.org/buildarchive/r350100/
Log:
Fix bash detection in the makefile
Reported by: QAT
Modified:
head/news/sn/Makefile
Modified: head/news/sn/Makefile
==============================================================================
--- head/news/sn/Makefile Fri Apr 4 11:37:55 2014 (r350099)
+++ head/news/sn/Makefile Fri Apr 4 11:44:41 2014 (r350100)
@@ -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 sit
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:
More information about the svn-ports-all
mailing list