openbsd-ports/devel/c2hs/patches/patch-c2hs_lib_Makefile

16 lines
647 B
Plaintext
Raw Normal View History

$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