aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-10-23 08:01:04 +0800
committerkris <kris@FreeBSD.org>2003-10-23 08:01:04 +0800
commit47c45847ec49bb71a4cb984d65a7afb6bb8f75ee (patch)
tree93481e0fdaf90fec40d0da8c27d85cf83c7056e8 /chinese
parente05325eb70c801164f035d122c235e6ce8e60686 (diff)
downloadfreebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.gz
freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.tar.zst
freebsd-ports-gnome-47c45847ec49bb71a4cb984d65a7afb6bb8f75ee.zip
Respect CC and CFLAGS
Diffstat (limited to 'chinese')
-rw-r--r--chinese/ve/files/patch-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/chinese/ve/files/patch-Makefile b/chinese/ve/files/patch-Makefile
new file mode 100644
index 000000000000..725f6f357693
--- /dev/null
+++ b/chinese/ve/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- Makefile.orig Wed Oct 22 16:44:56 2003
++++ Makefile Wed Oct 22 16:45:37 2003
+@@ -1,10 +1,11 @@
+-CC = gcc
++CC ?= cc
+ OBJ = edit.o term.o screen.o stuff.o io.o editor.o
+
+ #----------------------------------------------------------
+ # FreeBSD
+ #----------------------------------------------------------
+-CFLAGS = -DVEDITOR
++CFLAGS ?= -O -pipe
++CFLAGS += -DVEDITOR
+ LIBS = -ltermcap -lcompat
+
+ #----------------------------------------------------------
+@@ -31,7 +32,7 @@
+ cp 00readme.txt ve.hlp /usr/local/share/ve
+
+ ve: $(OBJ)
+- gcc $(CFLAGS) -o ve $(OBJ) $(LIBS)
++ $(CC) $(CFLAGS) -o ve $(OBJ) $(LIBS)
+
+ entab: entab.o
+- gcc -o entab entab.o
++ $(CC) -o entab entab.o