freebsd-ports/x11-toolkits/hs-wxdirect/Makefile
Tobias C. Berner 932e6dc413 Switch C compiler used to compile GHC to base Clang.
This removes build dependency on gcc and runtime dependency on gcc's runtime libraries.

Big thanks to Gleb for working on this.

PR:		225185
Submitted by:	Gleb Popov <6yearold@gmail.com>
Exp-run by:	antoine
Reviewed by:	pgj
Differential Revision:	https://reviews.freebsd.org/D12043
2018-02-10 08:03:22 +00:00

23 lines
448 B
Makefile

# $FreeBSD$
PORTNAME= wxdirect
PORTVERSION= 0.92.3.0
PORTREVISION= 1
CATEGORIES= x11-toolkits haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Helper tool for building wxHaskell
LICENSE= BSD3CLAUSE
USES= dos2unix
USE_CABAL= parsec>=2.1.0 strict
EXECUTABLE= wxdirect
post-patch::
@${REINPLACE_CMD} 's|"wx-config"|"wxgtk2u-3.0-config"|' \
${WRKSRC}/src/ParseC.hs
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>