summaryrefslogtreecommitdiff
path: root/lang/chicken/patches/patch-ab
blob: f47a53c9367650fc6fb7b312c1615d6557e3c1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ab,v 1.6 2004/09/05 18:31:59 seb Exp $

--- Makefile.in.orig	2004-08-19 18:37:55.000000000 +0200
+++ Makefile.in
@@ -472,7 +472,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
  configure.lineno
 $(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
 	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --foreign  Makefile
+	  $(AUTOMAKE) --foreign  --ignore-deps  Makefile
 Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
 	cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
 
@@ -1343,8 +1343,8 @@ csc.scm: csc.scm.in
 
 # Install docs and sources.
 install-data-local : chicken.html
-	$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/doc
-	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(pkgdatadir)/doc; done
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
+	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(prefix)/share/doc/chicken; done
 	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
 
 chicken.html: chicken.texi
@@ -1533,7 +1533,7 @@ paranoid :
 .PHONY : test
 
 test :
-	cd testsuites; $(MAKE) CC="$(CC)" CHICKEN="../chicken" LIBDIR=../.libs CFLAGS="$(CFLAGS)"; cd ..
+	cd testsuites; $(MAKE) CHICKEN="../chicken" LIBDIR=../.libs; cd ..
 
 # Benchmarks: