--- src/makefile.orig 2012-12-29 09:22:58.000000000 -0500
+++ src/makefile 2013-05-31 10:54:46.000000000 -0400
# This is the makefile for edbrowse.
# Flags for gcc compilation.
# C preprocessor flags. CPPFLAGS is used in the %.o: %.c implicit rule,
-CPPFLAGS = $(JS_CPPFLAGS)
+#CPPFLAGS = $(JS_CPPFLAGS)
# By default, we strip the executables.
# Override this behavior on the command line, by setting STRIP to the
# You probably need to be root to do this.
- install -Dm755 edbrowse $(DESTDIR)$(bindir)/edbrowse
+ install -m755 edbrowse $(DESTDIR)$(bindir)/edbrowse
# If you had to build the javascript library yourself,
STATICLIBS = -lodbc -lpcre -lm -ljs -lcurl -lssl -lc -lcrypto -lpthread -lm -ldl -lrt
edbrowse.static: $(EBOBJS) tcp.o dbops.o dbodbc.o
- cc --static $(LFLAGS) -o edbrowse.static $(EBOBJS) tcp.o dbops.o dbodbc.o $(STATICLIBS)
+ $(CC) --static $(LFLAGS) -o edbrowse.static $(EBOBJS) tcp.o dbops.o dbodbc.o $(STATICLIBS)
rm -f *.o edbrowse edbrowseinf edbrowseodbc edbrowse.static