openbsd-ports/devel/gtk2hs-buildtools/patches/patch-gtk2hs-buildtools_cabal
kili e4cf727550 This package provides a set of helper programs necessary to build
the Gtk2Hs suite of libraries. These tools include a modified c2hs
binding tool that is used to generate FFI declarations, a tool to
build a type hierarchy that mirrors the C type hierarchy of GObjects
found in glib, and a generator for signal declarations that are
used to call back from C to Haskell. These tools are not needed to
actually run Gtk2Hs programs.
2010-06-16 13:57:39 +00:00

13 lines
537 B
Plaintext

$OpenBSD: patch-gtk2hs-buildtools_cabal,v 1.1.1.1 2010/06/16 13:57:39 kili Exp $
--- gtk2hs-buildtools.cabal.orig Tue May 25 10:22:42 2010
+++ gtk2hs-buildtools.cabal Thu Jun 10 21:18:22 2010
@@ -107,7 +107,7 @@ Executable gtk2hsC2hs
c2hs/base/syms
c2hs/base/syntax
c-sources: c2hs/toplevel/c2hs_config.c
- if os(darwin)
+ if os(darwin) || os(openbsd)
cpp-options: -D_C2HS_CPP_IS_GCC
else
cpp-options: -D_C2HS_CPP_LANG_SINGLE