summaryrefslogtreecommitdiff
path: root/security/libassuan2/patches/patch-src_Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/libassuan2/patches/patch-src_Makefile.in')
-rw-r--r--security/libassuan2/patches/patch-src_Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/security/libassuan2/patches/patch-src_Makefile.in b/security/libassuan2/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..55f836515bc
--- /dev/null
+++ b/security/libassuan2/patches/patch-src_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2011/04/12 13:17:20 adam Exp $
+
+Pass CFLAGS (needed on Mac OS X).
+
+--- src/Makefile.in.orig 2011-04-12 13:13:02.000000000 +0000
++++ src/Makefile.in
+@@ -981,7 +981,7 @@ uninstall-am: uninstall-binPROGRAMS unin
+ @HAVE_W32CE_SYSTEM_TRUE@ $(DESTDIR)$(bindir)/gpgcedev.dll
+
+ mkheader: mkheader.c Makefile
+- $(CC_FOR_BUILD) -I. -I$(srcdir) -o $@ $(srcdir)/mkheader.c
++ $(CC_FOR_BUILD) $(CFLAGS) -I. -I$(srcdir) -o $@ $(srcdir)/mkheader.c
+
+ assuan.h: assuan.h.in mkheader $(parts_of_assuan_h)
+ ./mkheader $(host_os) $(srcdir)/assuan.h.in >$@