summaryrefslogtreecommitdiff
path: root/editors/teco/files/patch-src_makefile
diff options
context:
space:
mode:
authorFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-09-28 17:47:39 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2018-09-28 17:47:39 +0000
commitf12dc10f3e5f7d9537307a0c9f56683fd308beb6 (patch)
treecfea0ed52766d8fdcd2c9e2b033fac72f60601e8 /editors/teco/files/patch-src_makefile
parentThis package makes it possible to serialize tags generated by the django-taggit (diff)
editors/teco: Improve documentation and set maintainership
* Add detailed man page * Add DOCS option * Add LICENSE * Give maintainership to submitter PR: 231184 Submitted by: bob@eager.cx Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D17228
Notes
Notes: svn path=/head/; revision=480869
Diffstat (limited to 'editors/teco/files/patch-src_makefile')
-rw-r--r--editors/teco/files/patch-src_makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/editors/teco/files/patch-src_makefile b/editors/teco/files/patch-src_makefile
new file mode 100644
index 000000000000..153a027cd835
--- /dev/null
+++ b/editors/teco/files/patch-src_makefile
@@ -0,0 +1,26 @@
+--- src/makefile.orig 2004-05-21 14:26:06 UTC
++++ src/makefile
+@@ -23,11 +23,11 @@
+ # COMPILE.c macro so it doesn't stick in the -target option, which gcc
+ # doesn't understand.
+
+-CC= gcc
+ #CFLAGS= ${OSVERS} ${DEBG} ${CCHEK} -O -Wall -Wshadow -Wpointer-arith -Wcast-qual -DLINUX
+-CFLAGS= ${OSVERS} ${DEBG} ${CCHEK} -O -DLINUX
++CFLAGS+= -DLINUX
+ #TERMOBJS = -ltermcap
+-COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c -g
++COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) -c
++LINK.c = $(CC) $(LDFLAGS)
+
+ #############################################################################
+
+@@ -56,7 +56,7 @@ tecoc: tecoc.o ${OBJECTS}
+ tecoc.o: tecoc.c zport.h tecoc.h deferr.h dchars.h chmacs.h
+
+ clpars.h: genclp clpars.tec
+- genclp
++ ./genclp
+
+ genclp: genclp.o
+ ${LINK.c} -o $@ genclp.o