freebsd-ports/devel/hs-gtk2hs-buildtools/Makefile
John Marino dbc492f7ec devel/hs-gtk2hs-buildtools: Fix build of www/hs-gtk with gcc5
The Haskell gtk buildtools use CPP.  The CPP on gcc5 has changed
behavior, thus preventing hs-gtk from successfully building with gcc5.
By adding the -P argument when invoking "cpp" which forces the old
behavior, hs-gtk can be built by all versions of gcc.

PR:		197924
Submitted by:	marino
Approved by:	haskell@ (pgj@)
2015-03-30 10:43:04 +00:00

22 lines
431 B
Makefile

# $FreeBSD$
PORTNAME= gtk2hs-buildtools
PORTVERSION= 0.12.5.2
PORTREVISION= 2
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Tools to build the Gtk2Hs suite of User Interface Libraries
LICENSE= GPLv2
USE_CABAL= hashtables random
USE_ALEX= yes
USE_HAPPY= yes
EXECUTABLE= gtk2hsTypeGen gtk2hsHookGenerator gtk2hsC2hs
STANDALONE= yes
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>