summaryrefslogtreecommitdiff
path: root/lang/chicken/patches/patch-aa
blob: 275d50318a8daee2df477e1bd9ae35894a7b5917 (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
$NetBSD: patch-aa,v 1.7 2004/07/24 10:32:40 wiz Exp $

--- Makefile.am.orig	2004-05-20 23:20:58.000000000 +0200
+++ Makefile.am
@@ -294,9 +294,11 @@ pkgdata_DATA = chicken-match-macros.scm 
 
 # 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)$(pkglibdir)
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
+	-for file in $(DOCFILES); do cp $(srcdir)/$$file $(DESTDIR)$(prefix)/share/doc/chicken; done
+	$(mkinstalldirs) $(DESTDIR)$(prefix)/share/doc/chicken
+	$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
+
 
 chicken.html: chicken.texi
 	$(MAKEINFO) --no-split --html chicken.texi
@@ -514,7 +516,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: