diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-15 16:54:04 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-15 16:54:04 +0000 |
commit | 80a45ad6bf8a8cfd99bb831ae90e58d75928ae70 (patch) | |
tree | 23334b2e7eb63dd84782741c5851594a1fdb1d9c /misc/tempcontrol/files/patch-Makefile | |
parent | Define various *IDENT* variables, they default to $USER which is empty if (diff) |
Properly fix build on -current.
Notes
Notes:
svn path=/head/; revision=365000
Diffstat (limited to 'misc/tempcontrol/files/patch-Makefile')
-rw-r--r-- | misc/tempcontrol/files/patch-Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/tempcontrol/files/patch-Makefile b/misc/tempcontrol/files/patch-Makefile new file mode 100644 index 000000000000..0952106e27ba --- /dev/null +++ b/misc/tempcontrol/files/patch-Makefile @@ -0,0 +1,20 @@ +--- Makefile.orig 2006-01-25 18:03:13.000000000 -0500 ++++ Makefile 2014-08-15 12:53:03.000000000 -0400 +@@ -39,7 +39,7 @@ + + # Where to install the startup script + RCDIR = /usr/local/etc/rc.d +-CFLAGS = -g -O3 -Wall -Wno-parentheses ${INCLUDES} ++CFLAGS += -g -Wall -Wno-parentheses ${CPPFLAGS} + + LINK=gcc + LFLAGS= -g +@@ -88,7 +88,7 @@ + .FORCE: + + tempcontrol: ${OBJS} +- ${CC} -o $@ ${CFLAGS} ${OBJS} -lreadline -lcurses -lutil ++ ${CC} -o $@ ${CFLAGS} ${OBJS} ${LDFLAGS} -lreadline -lcurses -lutil + + clean: + rm -f *~ myparser* parser.h parserc.h parsercommands.c.sample parserkeys.h *.o ${PROG} |