1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/hs-c2hs/Makefile
Tobias C. Berner 4492f249db Fixup devel/hs-c2hs and devel/hs-gtk2hs-buildtools to pass -std=c99 to the preprocessor
The ports using c2hs and gtk2hs fail to build with modern compilers as the c11 features of the FreeBSD system headers are not hidden, yet the tools only understand c99.
* revert change to devel/hs-ncurses from r436451
* patch devel/hs-c2hs to pass -std=c99.
* patch devel/hs-gtk2-buildtools to pass -std=c99.

This should fix compilation of
* devel/hs-ncurses
* dns/hs-gnuidn
* graphics/hs-cairo
* x11-toolkits/hs-vte
* devel/hs-gconf

PR:		216707
Reviewed by:	rakuco
Approved by:	portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D10081
2017-03-25 20:29:13 +00:00

26 lines
498 B
Makefile

# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD$
PORTNAME= c2hs
PORTVERSION= 0.28.1
PORTREVISION= 1
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= C->Haskell FFI tool that gives some cross-language type safety
LICENSE= GPLv2
USE_CABAL= dlist language-c>=0.5.0 shelly>=1.0 text yaml>=0.8
XMLDOCS= doc/users_guide:html
STANDALONE= yes
EXECUTABLE= c2hs
MAN1PAGES= c2hs.1
MAN1SRC= doc/man1
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>