summaryrefslogtreecommitdiff
path: root/japanese/e2ps/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/e2ps/files/patch-Makefile')
-rw-r--r--japanese/e2ps/files/patch-Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/japanese/e2ps/files/patch-Makefile b/japanese/e2ps/files/patch-Makefile
new file mode 100644
index 000000000000..b2b3156b6e43
--- /dev/null
+++ b/japanese/e2ps/files/patch-Makefile
@@ -0,0 +1,34 @@
+--- Makefile.orig Mon May 20 11:41:41 2002
++++ Makefile Mon Oct 25 23:21:09 2004
+@@ -6,7 +6,7 @@
+
+
+ # Directory to install e2ps
+-E2PS_INST_DIR = /usr/local/bin
++E2PS_INST_DIR = ${PREFIX}/bin
+
+ # Tab width
+ TABSTOP = 8
+@@ -52,15 +52,12 @@
+
+
+ # C and C args
+-CC = gcc
++# CC = gcc
+ CC_ARGS = -Wall
+ # CC_ARGS = -Wall -O2
+ CC_LIB =
+
+-# strip command
+-STRIP = strip
+-
+-CFLAGS = $(CC_ARGS) $(DEFINES) $(CC_LIB)
++CFLAGS += $(CC_ARGS) $(DEFINES) $(CC_LIB)
+
+ SRC = e2ps.c ps-font.c wtkf.c
+ OBJ = e2ps.o ps-font.o wtkf.o
+@@ -81,4 +78,3 @@
+
+ e2ps: $(OBJ)
+ $(CC) -o $@ $(OBJ) $(CFLAGS)
+- $(STRIP) $@