mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 23:46:28 -04:00
Fix bash detection in the makefile
Reported by: QAT
This commit is contained in:
parent
188fcbfce1
commit
6ce8b0ec31
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350100
1 changed files with 5 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= sn
|
PORTNAME= sn
|
||||||
PORTVERSION= 0.3.8
|
PORTVERSION= 0.3.8
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= news
|
CATEGORIES= news
|
||||||
MASTER_SITES= http://www.infa.abo.fi/~patrik/sn/files/ \
|
MASTER_SITES= http://www.infa.abo.fi/~patrik/sn/files/ \
|
||||||
http://home.arcor.de/teambushido/fbsd_ports/ \
|
http://home.arcor.de/teambushido/fbsd_ports/ \
|
||||||
|
@ -14,6 +14,8 @@ COMMENT= Small news system for small sites serving
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
||||||
|
|
||||||
USES= gmake tar:bzip2
|
USES= gmake tar:bzip2
|
||||||
MAKE_ARGS+= PREFIX="${PREFIX}" LD="${CC}" CC="${CC}"
|
MAKE_ARGS+= PREFIX="${PREFIX}" LD="${CC}" CC="${CC}"
|
||||||
|
|
||||||
|
@ -30,7 +32,8 @@ post-patch:
|
||||||
${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \
|
${REINPLACE_CMD} -e 's|sn\.a$$|& lib/libstuff.a| ; \
|
||||||
s|snlockf\.o$$|& lib/libstuff.a| ; \
|
s|snlockf\.o$$|& lib/libstuff.a| ; \
|
||||||
s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic| ; \
|
s|-g -Wall -pedantic -O|${CFLAGS} -Wall -pedantic| ; \
|
||||||
s|strip |${STRIP_CMD} |' \
|
s|strip |${STRIP_CMD} | ; \
|
||||||
|
s|/bin/bash|${LOCALBASE}/bin/bash|' \
|
||||||
${WRKSRC}/Makefile
|
${WRKSRC}/Makefile
|
||||||
|
|
||||||
pre-install:
|
pre-install:
|
||||||
|
|
Loading…
Add table
Reference in a new issue