diff options
Diffstat (limited to 'app-accessibility/edbrowse/files/edbrowse-3.4.6-fix-makefile.patch')
-rw-r--r-- | app-accessibility/edbrowse/files/edbrowse-3.4.6-fix-makefile.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/app-accessibility/edbrowse/files/edbrowse-3.4.6-fix-makefile.patch b/app-accessibility/edbrowse/files/edbrowse-3.4.6-fix-makefile.patch deleted file mode 100644 index e44710210645..000000000000 --- a/app-accessibility/edbrowse/files/edbrowse-3.4.6-fix-makefile.patch +++ /dev/null @@ -1,54 +0,0 @@ -diff -Naur edbrowse-3.4.6/src/makefile edbrowse-3.4.6-new/src/makefile ---- edbrowse-3.4.6/src/makefile 2011-01-20 10:38:24.000000000 +0000 -+++ edbrowse-3.4.6-new/src/makefile 2011-03-28 14:02:25.000000000 +0000 -@@ -23,12 +23,15 @@ - STRIP=-s - endif - --CFLAGS = -I/usr/local/js/src -I/usr/local/js/src/Linux_All_DBG.OBJ -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS) -+JSFLAGS = -I/usr/include/js -DXP_UNIX -+ -+%.o: %.c -+ $(CC) $(CFLAGS) $(JSFLAGS) -c -o $@ $< - - # If the smjs library is already installed by your linux distribution, - # e.g. Debian, use the following flags. - # --#CFLAGS = -I/usr/include/js -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS) -+#CFLAGS = -I/usr/include/smjs -DXP_UNIX -DX86_LINUX $(DEBUGFLAGS) - - # Normal load flags - LFLAGS = $(STRIP) -@@ -45,7 +48,8 @@ - # Or you can use the target jslink below. - # Some folks need to add -lcrypto to this list. - --LIBS = -lpcre -lm -lssl -ljs -lcurl -lreadline -+JSLIB = -ljs -+LIBS = -lpcre -lm -lssl $(JSLIB) -lcurl -lreadline - - # Make the dynamically linked executable program by default. - # Edbrowse executable. -@@ -59,11 +63,11 @@ - $(EBOBJS) : eb.h eb.p messages.h tcp.h - - edbrowse: $(EBOBJS) tcp.o dbstubs.o -- cc $(LFLAGS) -o edbrowse $(EBOBJS) tcp.o dbstubs.o $(LIBS) -+ $(CC) $(LDFLAGS) -o edbrowse $(EBOBJS) tcp.o dbstubs.o $(LIBS) - - # You probably need to be root to do this. - install: -- install -Dm755 edbrowse $(bindir)/edbrowse -+ install -Dm755 edbrowse $(DESTDIR)$(bindir)/edbrowse - - # If you had to build the javascript library yourself, - # link it into /usr/lib. -@@ -87,7 +91,7 @@ - - # odbc access - edbrowseodbc: $(EBOBJS) tcp.o dbops.o dbodbc.o -- cc $(LFLAGS) -o edbrowseodbc $(EBOBJS) tcp.o dbops.o dbodbc.o $(LIBS) -lodbc -+ $(CC) $(LDFLAGS) -o edbrowseodbc $(EBOBJS) tcp.o dbops.o dbodbc.o $(LIBS) -lodbc - - # Build function prototypes. - # mkproto is my program, not a general unix utility. |