$OpenBSD: patch-scripts_pkg_pkg_m,v 1.2 2008/01/21 18:30:13 steven Exp $
--- scripts/pkg/pkg.m.orig	Thu Dec 20 17:55:26 2007
+++ scripts/pkg/pkg.m	Sat Dec 29 17:13:51 2007
@@ -1052,7 +1052,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);
