$NetBSD: patch-af,v 1.2 2012/04/17 07:48:13 sbd Exp $

Avoid a reference to the wrapped make in the pkgsrc work directory from
showing up in an installed file.
See: libjava/contrib/aotcompile.py.in

--- libjava/configure.orig	2011-03-25 17:07:00.000000000 +0000
+++ libjava/configure
@@ -24653,7 +24653,7 @@ $as_echo "Python modules dir: ${python_m
 
 
 # needed for aot-compile-rpm
-MAKE=`which make`
+MAKE=${PKGSRC_MAKE}
 
 
 # Check whether --enable-aot-compile-rpm was given.
