$OpenBSD: patch-langscan_java_Makefile_in,v 1.1 2010/09/23 22:14:53 jeremy Exp $
--- langscan/java/Makefile.in.orig	Mon Jul  4 08:08:38 2005
+++ langscan/java/Makefile.in	Mon Sep 13 13:17:51 2010
@@ -497,10 +497,10 @@ uninstall-info: uninstall-info-recursive
 
 
 java.h: ../_template.h tokenlist.txt
-	ruby ../_make_h.rb ../_template.h tokenlist.txt java Java
+	ruby18 ../_make_h.rb ../_template.h tokenlist.txt java Java
 
 java.c: ../_template.c
-	ruby ../_make_c.rb ../_template.c java Java
+	ruby18 ../_make_c.rb ../_template.c java Java
 
 # We do this to workaround flex 2.5.4 issue because our .l
 # file could not be processed with flex 2.5.4.
