summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-08-09 09:14:42 +0000
committerijliao <ijliao@FreeBSD.org>2001-08-09 09:14:42 +0000
commitf3ef475eb372f86eb92dd6ee38a20b4ae079463c (patch)
tree6f035fe5b5a01807e9e7ab286431b4fe528c021e /security
parente729452178d4fd487a80135159bd0f6285e52684 (diff)
downloadFreeBSD-ports-f3ef475eb372f86eb92dd6ee38a20b4ae079463c.zip
FreeBSD-ports-f3ef475eb372f86eb92dd6ee38a20b4ae079463c.tar.gz
dont know why remove patch-Makefile in the last commit :<
Diffstat (limited to 'security')
-rw-r--r--security/crank/files/patch-Makefile31
-rw-r--r--security/crank/pkg-plist5
2 files changed, 36 insertions, 0 deletions
diff --git a/security/crank/files/patch-Makefile b/security/crank/files/patch-Makefile
new file mode 100644
index 0000000..3d08c0a
--- /dev/null
+++ b/security/crank/files/patch-Makefile
@@ -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
+
diff --git a/security/crank/pkg-plist b/security/crank/pkg-plist
index 0816265..fd6bd27 100644
--- a/security/crank/pkg-plist
+++ b/security/crank/pkg-plist
@@ -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
OpenPOWER on IntegriCloud