openbsd-ports/textproc/ruby-hyperestraier/patches/patch-rubynative_Makefile_in
ajacoutot 407e237302 - make this build again
breakage noticed by naddy@
2009-01-30 21:15:05 +00:00

64 lines
3.5 KiB
Plaintext

$OpenBSD: patch-rubynative_Makefile_in,v 1.3 2009/01/30 21:15:05 ajacoutot Exp $
--- rubynative/Makefile.in.orig Wed Feb 21 10:06:29 2007
+++ rubynative/Makefile.in Fri Jan 30 22:13:09 2009
@@ -29,7 +29,7 @@ DESTDIR =
# Building binaries
RUBY = @RUBY@
RDOC = @RDOC@
-RUNENV = LD_LIBRARY_PATH=.:..:/lib:/usr/lib:$(MYLIBDIR):$(HOME)/lib:/usr/local/lib:@MYRUNPATH@
+RUNENV = LD_LIBRARY_PATH=:/usr/lib:/usr/local/lib:@MYRUNPATH@
@@ -53,10 +53,10 @@ clean :
install :
- mkdir -p $(DESTDIR)$(MYRBLIBDIR)
- ( cd src && cp -Rf $(MYRBLIBS) $(DESTDIR)$(MYRBLIBDIR) )
- mkdir -p $(DESTDIR)$(MYRBBINDIR)
- cp -Rf $(MYRBBINS) $(DESTDIR)$(MYRBBINDIR)
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(MYRBLIBDIR)
+ cd src && $(BSD_INSTALL_DATA) $(MYRBLIBS) $(DESTDIR)$(MYRBLIBDIR)
+ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(MYRBBINDIR)
+ $(BSD_INSTALL_SCRIPT) $(MYRBBINS) $(DESTDIR)$(MYRBBINDIR)
@printf '\n'
@printf '#================================================================\n'
@printf '# Thanks for using Hyper Estraier for Ruby.\n'
@@ -82,21 +82,21 @@ distclean : clean
check :
rm -rf casket
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test001.est
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test002.est
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test003.est
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test004.est
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test005.est
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test006.est
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb edit casket 1 "@title" "java"
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb get casket 1
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb get casket 1 "@title"
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb out casket 1
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb inform casket
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb optimize casket
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb search \
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test001.est
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test002.est
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test003.est
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test004.est
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test005.est
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb put casket ../misc/test006.est
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb edit casket 1 "@title" "java"
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb get casket 1
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb get casket 1 "@title"
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb out casket 1
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb inform casket
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb optimize casket
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb search \
-vf -cd casket "estraier" > check.out
- $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb search \
+ LD_PRELOAD=/usr/lib/libpthread.so $(RUNENV) $(RUBY) -I./src -w -d estcmd.rb search \
-vs -gs -attr "@uri" -ord "@mdate NUMD" -max 1 casket "estraier OR mikio" > check.out
rm -rf casket