dont know why remove patch-Makefile in the last commit :<
This commit is contained in:
31
security/crank/files/patch-Makefile
Normal file
31
security/crank/files/patch-Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
--- Makefile.in.orig Thu Aug 9 17:05:12 2001
|
||||
+++ Makefile.in Thu Aug 9 17:05:54 2001
|
||||
@@ -7,9 +7,8 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
VERSION = $(shell cat VERSION)
|
||||
-CC = gcc
|
||||
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
|
||||
@@ -19,7 +18,7 @@
|
||||
$(PLUGIN-SRC)/statistics.n-grams.so \
|
||||
$(PLUGIN-SRC)/text.simple-filters.so \
|
||||
$(PLUGIN-SRC)/utilities.notepad.so
|
||||
-TMPDIR = /usr/tmp
|
||||
+TMPDIR = /tmp
|
||||
|
||||
# Files for source distribution
|
||||
DISTFILES = *.[ch] Makefile.in Makefile.mingw AUTHORS README BUGS VERSION \
|
||||
@@ -40,7 +39,7 @@
|
||||
all: crank plugin
|
||||
|
||||
crank: $(OBJFILES)
|
||||
- $(CC) $(CFLAGS) $(LIBDIR) -o $@ $(OBJFILES) $(LIBS)
|
||||
+ $(CC) $(CFLAGS) -o $@ $(OBJFILES) $(LIBS)
|
||||
|
||||
$(OBJFILES) : crank.h
|
||||
|
||||
@@ -8,5 +8,10 @@ lib/crank/plugins/text.simple-filters.so
|
||||
lib/crank/plugins/transpositions.grid-brute-force.so
|
||||
lib/crank/plugins/transpositions.grid-controls.so
|
||||
lib/crank/plugins/utilities.notepad.so
|
||||
share/crank/bift.dat
|
||||
share/crank/slft.dat
|
||||
share/crank/trift.dat
|
||||
share/crank/word-list.dat
|
||||
@dirrm lib/crank/plugins
|
||||
@dirrm lib/crank
|
||||
@dirrm share/crank
|
||||
|
||||
Reference in New Issue
Block a user