Hi.
Use CONFIGURE_STYLE=gnu instead of simple.
This is indeed a GNU configuration file and it prevents using gmkdir if
present (which then gets junked by dpb(1)).
===> Faking installation for patchelf-0.18.0
Making install in src
gmake[1]: Entering directory '/exopi-obj/pobj/patchelf-0.18.0/build-amd64/src'
gmake[2]: Entering directory '/exopi-obj/pobj/patchelf-0.18.0/build-amd64/src'
/usr/local/bin/gmkdir -p
'/exopi-obj/pobj/patchelf-0.18.0/fake-amd64/usr/local/bin'
/bin/sh: /usr/local/bin/gmkdir: not found
gmake[2]: *** [Makefile:317: install-binPROGRAMS] Error 1
gmake[2]: Leaving directory '/exopi-obj/pobj/patchelf-0.18.0/build-amd64/src'
gmake[1]: *** [Makefile:487: install-am] Error 2
gmake[1]: Leaving directory '/exopi-obj/pobj/patchelf-0.18.0/build-amd64/src'
gmake: *** [Makefile:472: install-recursive] Error 1
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/patchelf/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 12 Jul 2023 15:58:53 -0000 1.19
+++ Makefile 17 Jul 2023 06:25:27 -0000
@@ -19,8 +19,7 @@ COMPILER = base-clang ports-gcc
SEPARATE_BUILD = Yes
USE_GMAKE = Yes
-CONFIGURE_STYLE = simple
-CONFIGURE_ARGS = --mandir=${PREFIX}/man
+CONFIGURE_STYLE = gnu
.include <bsd.port.arch.mk>
--
Antoine