- ghc uses USE_GCC=yes and when USE_GCC=yes implies a different one of the lang/gcc* ports (which will happen after PR 218330 or when the user sets a different version of GCC via Mk/bsd.default-versions.mk), devel/stacks pulls in two conflicting ports - lang/gcc and lang/gcc5 - in the first case, or pulls in the wrong port for its own dependency. - Some Haskell libraries/programs require gcc in the PATH, but not all do; the port should not have a gcc dependency for this reason alone. PR: 218482 Reported by: gerald Approved by: lme (mentor) Differential Revision: https://reviews.freebsd.org/D10459
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: Tobias Kortkamp <t@tobik.me>
|
|
# $FreeBSD$
|
|
|
|
# To update this port first go to
|
|
# https://github.com/applicative-tech/stack-dependencies, change the
|
|
# version in the Makefile there, regenerate the stack-dependencies
|
|
# tarball, commit Makefile changes, create a new tag (release)
|
|
# matching the new stack version, and upload the tarball. Finally
|
|
# bump the version here.
|
|
|
|
PORTNAME= stack
|
|
PORTVERSION= 1.4.0
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel haskell
|
|
MASTER_SITES= GH \
|
|
https://github.com/applicative-tech/stack-dependencies/releases/download/v${PORTVERSION}/:deps
|
|
DISTFILES= stack-dependencies-${PORTVERSION}${EXTRACT_SUFX}:deps
|
|
|
|
MAINTAINER= tobik@FreeBSD.org
|
|
COMMENT= Cross-platform program for developing Haskell programs
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= ghc>0:lang/ghc \
|
|
cabal:devel/hs-cabal-install
|
|
LIB_DEPENDS= libgmp.so:math/gmp \
|
|
libffi.so:devel/libffi
|
|
RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \
|
|
gmake:devel/gmake
|
|
|
|
USES= gmake iconv perl5
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= applicative-tech
|
|
GH_PROJECT= stack-dependencies
|
|
|
|
MAKE_ENV= TARGET="${WRKSRC}" \
|
|
PREFIX="${PREFIX}" \
|
|
STAGEDIR="${STAGEDIR}"
|
|
|
|
PLIST_FILES= bin/stack \
|
|
etc/bash_completion.d/_stack.bash \
|
|
share/zsh/site-functions/_stack
|
|
|
|
.include <bsd.port.mk>
|