respect CC/CFLAGS; notified by naddy@
This commit is contained in:
parent
4e9cc3c9f4
commit
d022915444
14
security/crank/patches/patch-Makefile_in
Normal file
14
security/crank/patches/patch-Makefile_in
Normal file
@ -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
|
14
security/crank/patches/patch-plugin_src_Makefile_in
Normal file
14
security/crank/patches/patch-plugin_src_Makefile_in
Normal file
@ -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 \
|
Loading…
Reference in New Issue
Block a user