freebsd-ports/lang/qscheme/files/patch-Makefile.in
Dmitry Marakasov f2bb29203c - Fix build with gcc 4.2
PR:		132287
Submitted by:	Vitaly Magerya <vmagerya at gmail dot com>
Approved by:	Erik Greenwald <erik dot greenwald at gmail dot com> (maintainer)
2009-04-01 22:31:31 +00:00

30 lines
989 B
Plaintext

--- Makefile.in.orig 2000-06-23 02:10:21.000000000 +0300
+++ Makefile.in 2009-03-03 18:30:51.000000000 +0200
@@ -111,7 +111,7 @@
EXTRA_DIST = mkoptable mkwhatis $(modsrc) $(scmsrc) CHANGES LICENCE_EXCEPTION
# other directories
-SUBDIRS = . doc sgtk
+SUBDIRS = . doc
noinst_LIBRARIES = libqs.a
@@ -578,12 +578,12 @@
$(COMPILE) -o $@ -shared -fPIC -I$(incpcre) $(srcdir)/regex.c $(PCRE_LIB)
%.x:%.i
- mkoptable $< > $@
+ ./mkoptable $< > $@
-sproto.h: $(libqs_src)
- @cfunctions $(libqs_src) \
- | sed 's/^#include "c-extensions.h".*$$/#define PROTO(x) x/' > $@.new
- @if diff $@ $@.new >/dev/null ; then rm $@.new; else mv $@.new $@ ; fi
+#sproto.h: $(libqs_src)
+# @cfunctions $(libqs_src) \
+# | sed 's/^#include "c-extensions.h".*$$/#define PROTO(x) x/' > $@.new
+# @if diff $@ $@.new >/dev/null ; then rm $@.new; else mv $@.new $@ ; fi
# force sproto.h to be up to date. Otherwise compilation of
# distribution may fail, because sproto.h can trigger the cfunction