$OpenBSD: patch-scripts_pkg_pkg_m,v 1.5 2009/04/14 18:22:59 steven Exp $
--- scripts/pkg/pkg.m.orig	Wed Feb 18 07:57:46 2009
+++ scripts/pkg/pkg.m	Mon Apr 13 16:20:41 2009
@@ -1242,7 +1242,7 @@ function configure_make (desc, packdir, verbose)   
     ## make
     if (exist (fullfile (src, "Makefile"), "file"))
       [status, output] = shell (strcat ("export INSTALLDIR=\"", desc.dir,
- 					 "\"; make -C '", src, "'"));
+ 					 "\"; gmake -C '", src, "'"));
       if (status != 0)
 	rm_rf (desc.dir);
 	error ("'make' returned the following error: %s", output);
