d1011d2804
C->Haskell is an interface generator that simplifies the development of Haskell bindings to C libraries. The tool processes existing C header files that determine data layout and function signatures on the C side, in conjunction with Haskell modules that specify Haskell-side type signatures and marshaling details. Hooks embedded in the Haskell code signal access to C structures and functions; they are expanded by the interfacing tool in conjunction with information in the corresponding C header file. ok pvalchev@
16 lines
647 B
Plaintext
16 lines
647 B
Plaintext
$OpenBSD: patch-c2hs_lib_Makefile,v 1.1.1.1 2004/05/08 07:21:03 dons Exp $
|
|
|
|
Fix 'start-of-word' regex. \< looks like a linux-ism
|
|
|
|
--- c2hs/lib/Makefile.orig 2004-05-06 17:10:10.000000000 +1000
|
|
+++ c2hs/lib/Makefile 2004-05-06 17:10:19.000000000 +1000
|
|
@@ -77,7 +77,7 @@ depend:
|
|
ifeq ($(LEGACY_FFI),no)
|
|
$(GREP) -v -e CError -e CForeign -e CString\
|
|
-e ForeignPtr -e MarshalAlloc -e MarshalArray\
|
|
- -e MarshalError -e MarshalUtils -e "\<Ptr" .depend\
|
|
+ -e MarshalError -e MarshalUtils -e "[[:<:]]Ptr" .depend\
|
|
>.depend.new
|
|
$(MV) .depend.new .depend
|
|
# mkdependHS is a bit stupid here and does include files if present even if
|