git: e4ca154bd220 - main - devel/stack: Add LIB_DEPENDS on compat12x for FreeBSD >= 13.
Gleb Popov
arrowd at FreeBSD.org
Sun Apr 18 15:38:27 UTC 2021
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e4ca154bd2203ef7c7fe4ad0a6472991f7f7cbb4
commit e4ca154bd2203ef7c7fe4ad0a6472991f7f7cbb4
Author: Gleb Popov <arrowd at FreeBSD.org>
AuthorDate: 2021-04-18 15:34:26 +0000
Commit: Gleb Popov <arrowd at FreeBSD.org>
CommitDate: 2021-04-18 15:38:23 +0000
devel/stack: Add LIB_DEPENDS on compat12x for FreeBSD >= 13.
GHC binaries downloaded by stack are compiled on FreeBSD 11/12 and link to
old libncursesw.so.
Reported by: Alexis Praga <alexis.praga at free.fr>
---
devel/stack/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/devel/stack/Makefile b/devel/stack/Makefile
index ef75bcff7bcb..b395244f1b1f 100644
--- a/devel/stack/Makefile
+++ b/devel/stack/Makefile
@@ -3,6 +3,7 @@
PORTNAME= stack
PORTVERSION= 2.5.1
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= devel haskell
MAINTAINER= haskell at FreeBSD.org
@@ -187,7 +188,13 @@ USE_CABAL= Glob-0.10.1 \
zip-archive-0.4.1_1 \
zlib-0.6.2.2
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 1300078 && ${ARCH} != powerpc64
+LIB_DEPENDS+= libncursesw.so.8:misc/compat12x
+.endif
+
#PLIST_FILES= etc/bash_completion.d/_stack.bash \
# share/zsh/site-functions/_stack
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the dev-commits-ports-all
mailing list