Files
pkgsrc-ng/databases/qdbm/patches/patch-af
2013-09-26 17:14:40 +02:00

27 lines
1.1 KiB
Plaintext

$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'