diff --git a/security/crank/patches/patch-Makefile_in b/security/crank/patches/patch-Makefile_in new file mode 100644 index 00000000000..db9bfb689a2 --- /dev/null +++ b/security/crank/patches/patch-Makefile_in @@ -0,0 +1,14 @@ +--- Makefile.in~ Mon Oct 28 14:22:51 2002 ++++ Makefile.in Mon Oct 28 14:23:10 2002 +@@ -7,9 +7,9 @@ + prefix=@prefix@ + exec_prefix = @exec_prefix@ + VERSION = $(shell cat VERSION) +-CC = gcc ++CC = @CC@ + PLUGIN-INSTALL = @libdir@/crank/plugins +-CFLAGS = -O2 -Wall @GTK_CFLAGS@ -DPLUGIN_DIR=\"$(PLUGIN-INSTALL)\" ++CFLAGS += -Wall @GTK_CFLAGS@ -DPLUGIN_DIR=\"$(PLUGIN-INSTALL)\" + LIBS = @GTK_LIBS@ + OBJFILES = $(patsubst %.c,%.o,$(wildcard *.c)) + PLUGIN-INSTALL = @libdir@/crank/plugins diff --git a/security/crank/patches/patch-plugin_src_Makefile_in b/security/crank/patches/patch-plugin_src_Makefile_in new file mode 100644 index 00000000000..2161d3c6c61 --- /dev/null +++ b/security/crank/patches/patch-plugin_src_Makefile_in @@ -0,0 +1,14 @@ +$OpenBSD: patch-plugin_src_Makefile_in,v 1.1 2002/10/28 22:34:35 mark Exp $ +--- plugin-src/Makefile.in~ Mon Oct 28 14:28:44 2002 ++++ plugin-src/Makefile.in Mon Oct 28 14:28:57 2002 +@@ -8,8 +8,8 @@ prefix=@prefix@ + CRANK_DIR = .. + INSTALL_DIR = .. + DATA_DIR = @datadir@/crank +-CC = gcc +-CFLAGS = -O2 -Wall -fPIC @GTK_CFLAGS@ -I$(CRANK_DIR) -DDATA_DIR=\"$(DATA_DIR)\" ++CC = @CC@ ++CFLAGS += -Wall -fPIC @GTK_CFLAGS@ -I$(CRANK_DIR) -DDATA_DIR=\"$(DATA_DIR)\" + + all: monoalphabetic.key-controls.so \ + statistics.n-grams.so \