>>> Install nzbget-12.0 into /var/tmp/portage/net-nntp/nzbget-12.0/image/ category net-nntp make -j5 DESTDIR=/var/tmp/portage/net-nntp/nzbget-12.0/image/ install make[1]: Entering directory '/var/tmp/portage/net-nntp/nzbget-12.0/work/nzbget-12.0' @MKDIR_P@ '/var/tmp/portage/net-nntp/nzbget-12.0/image//usr/sbin' @MKDIR_P@ '/var/tmp/portage/net-nntp/nzbget-12.0/image//usr/share/nzbget' /bin/sh: line 3: @MKDIR_P@: command not found /bin/sh: line 3: @MKDIR_P@: command not found Makefile:694: recipe for target 'install-dist_exampleconfDATA' failed make[1]: *** [install-dist_exampleconfDATA] Error 1 make[1]: *** Waiting for unfinished jobs.... @MKDIR_P@ '/var/tmp/portage/net-nntp/nzbget-12.0/image//usr/share/nzbget' Makefile:594: recipe for target 'install-sbinSCRIPTS' failed make[1]: *** [install-sbinSCRIPTS] Error 1 /bin/sh: line 3: @MKDIR_P@: command not found Makefile:552: recipe for target 'install-nobase_dist_ppscriptsSCRIPTS' failed make[1]: *** [install-nobase_dist_ppscriptsSCRIPTS] Error 1 @MKDIR_P@ '/var/tmp/portage/net-nntp/nzbget-12.0/image//usr/share/nzbget' /bin/sh: line 3: @MKDIR_P@: command not found Makefile:715: recipe for target 'install-nobase_dist_webuiDATA' failed make[1]: *** [install-nobase_dist_webuiDATA] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-nntp/nzbget-12.0/work/nzbget-12.0' Makefile:977: recipe for target 'install-am' failed make: *** [install-am] Error 2 * ERROR: net-nntp/nzbget-12.0::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=net-nntp/nzbget-12.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-nntp/nzbget-12.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-nntp/nzbget-12.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-nntp/nzbget-12.0/temp/environment'. * Working directory: '/var/tmp/portage/net-nntp/nzbget-12.0/work/nzbget-12.0' * S: '/var/tmp/portage/net-nntp/nzbget-12.0/work/nzbget-12.0' * QA Notice: command not found: * * /bin/sh: line 3: @MKDIR_P@: command not found * /bin/sh: line 3: @MKDIR_P@: command not found * /bin/sh: line 3: @MKDIR_P@: command not found * /bin/sh: line 3: @MKDIR_P@: command not found
Should use AC_PROG_MKDIR_P in configure.ac (or .in) and then $(MKDIR_P) is available to be used in Makefile.am's Please post also 'emerge --info' and the complete build.log