summaryrefslogtreecommitdiff
path: root/databases/qdbm/patches/patch-af
blob: 1c00992066625a65434dbaf635f8ce28d9e0a018 (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
$NetBSD: patch-af,v 1.4 2008/06/19 14:45:38 taca Exp $

--- ruby/Makefile.in.orig	2006-09-06 03:37:33.000000000 +0000
+++ ruby/Makefile.in
@@ -21,7 +21,7 @@ MYDOCS = rbspex.html rbspex-ja.html rbap
 prefix = @prefix@
 exec_prefix = @exec_prefix@
 MYBINDIR = @bindir@
-MYDATADIR = @datadir@/$(PACKAGE)/ruby
+MYDATADIR = @datadir@/doc/$(PACKAGE)/ruby
 DESTDIR =
 
 # Building binaries
@@ -35,9 +35,9 @@ RUNENV = LD_LIBRARY_PATH=.:..:../..:/usr
 
 
 all :
-	cd depot && [ -f Makefile ] || $(RUNENV) ruby extconf.rb ; $(RUNENV) make
-	cd curia && [ -f Makefile ] || $(RUNENV) ruby extconf.rb ; $(RUNENV) make
-	cd villa && [ -f Makefile ] || $(RUNENV) ruby extconf.rb ; $(RUNENV) make
+	cd depot && [ -f Makefile ] || $(RUNENV) $(RUBY) extconf.rb $(RUBY_EXTCONF_ARGS); $(RUNENV) make
+	cd curia && [ -f Makefile ] || $(RUNENV) $(RUBY) extconf.rb $(RUBY_EXTCONF_ARGS); $(RUNENV) make
+	cd villa && [ -f Makefile ] || $(RUNENV) $(RUBY) extconf.rb $(RUBY_EXTCONF_ARGS); $(RUNENV) make
 	@printf '\n'
 	@printf '#================================================================\n'
 	@printf '# Ready to install.\n'