Index: devel/gmake/Makefile =================================================================== --- devel/gmake/Makefile (revision 536021) +++ devel/gmake/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= gmake PORTVERSION= 4.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU/make DISTNAME= make-${PORTVERSION} Index: devel/gmake/files/patch-lib_findprog-in.c =================================================================== --- devel/gmake/files/patch-lib_findprog-in.c (nonexistent) +++ devel/gmake/files/patch-lib_findprog-in.c (working copy) @@ -0,0 +1,28 @@ +--- lib/findprog-in.c.orig 2020-01-19 20:34:01 UTC ++++ lib/findprog-in.c +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + + #include "filename.h" + #include "concat-filename.h" +@@ -190,6 +191,7 @@ find_in_given_path (const char *progname, const char * + dir = "."; + + /* Try all platform-dependent suffixes. */ ++ struct stat st; + for (i = 0; i < sizeof (suffixes) / sizeof (suffixes[0]); i++) + { + const char *suffix = suffixes[i]; +@@ -208,7 +210,8 @@ find_in_given_path (const char *progname, const char * + use it. On other systems, let's hope that this program + is not installed setuid or setgid, so that it is ok to + call access() despite its design flaw. */ +- if (eaccess (progpathname, X_OK) == 0) ++ if (eaccess (progpathname, X_OK) == 0 && ++ stat(progpathname, &st) == 0 && S_ISREG(st.st_mode)) + { + /* Found! */ + if (strcmp (progpathname, progname) == 0) Property changes on: devel/gmake/files/patch-lib_findprog-in.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property