diff options
author | pi <pi@FreeBSD.org> | 2016-08-26 17:33:55 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-08-26 17:33:55 +0800 |
commit | e337fd10781128a6bca2238ec6d5de6d40f6ee31 (patch) | |
tree | aff3060253de2c338280e900ac0e85119efc50ab /devel | |
parent | f384eae2d60bbc2699589e98d59a476ac278fd9a (diff) | |
download | freebsd-ports-gnome-e337fd10781128a6bca2238ec6d5de6d40f6ee31.tar.gz freebsd-ports-gnome-e337fd10781128a6bca2238ec6d5de6d40f6ee31.tar.zst freebsd-ports-gnome-e337fd10781128a6bca2238ec6d5de6d40f6ee31.zip |
devel/stack: fix dependencies and hang on build
PR: 211312
Reported by: freebsd@get-experience.com
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/stack/Makefile | 7 | ||||
-rw-r--r-- | devel/stack/files/patch-Makefile | 11 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/stack/Makefile b/devel/stack/Makefile index fc1494f2349c..882c28158afa 100644 --- a/devel/stack/Makefile +++ b/devel/stack/Makefile @@ -10,6 +10,7 @@ PORTNAME= stack PORTVERSION= 1.1.2 +PORTREVISION= 1 CATEGORIES= devel haskell MASTER_SITES= GH \ https://github.com/applicative-tech/stack-dependencies/releases/download/${PORTVERSION}/:deps @@ -30,7 +31,11 @@ LIB_DEPENDS= libiconv.so:converters/libiconv \ RUN_DEPENDS+= gcc:lang/gcc LIB_DEPENDS+= libutil.so.8:misc/compat8x -USES= gmake +# Needed for 'stack setup' +RUN_DEPENDS+= ca_root_nss>0:security/ca_root_nss \ + gmake:devel/gmake +USES= gmake perl5 + USE_GITHUB= yes GH_ACCOUNT= applicative-tech GH_PROJECT= stack-dependencies diff --git a/devel/stack/files/patch-Makefile b/devel/stack/files/patch-Makefile new file mode 100644 index 000000000000..43ee97121276 --- /dev/null +++ b/devel/stack/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2016-07-23 16:05:37 UTC ++++ Makefile +@@ -34,7 +34,7 @@ _stack.zsh: _stack.bash + # zsh completion reuses bash completion file via zsh's bashcompinit function + ${ECHO} "#compdef stack" > ${@} + ${ECHO} "autoload -U +X bashcompinit && bashcompinit" >> ${@} +- ${CAT} ${>} >> ${@} ++ ${CAT} _stack.bash >> ${@} + + install: all + ${INSTALL_PROGRAM} stack ${STAGEDIR}${PREFIX}/bin |