USE_GMAKE fails in QATty?

Boris Samorodov bsam at passap.ru
Sat Jul 7 12:24:32 UTC 2012


07.07.2012 13:14, Vitaly Magerya пишет:
> Hi, folks. I'm getting strange errors when building ports with
> USE_GMAKE=YES on redports. See for yourself: [1-3]. It seems
> that gmake is first built, but when it's time to install it --
> turns out that it is already installed.
>
> This only happens in QATty (i.e. with custom LOCALBASE and
> PREFIX).
>
> Does anyone know what's going on?

Seems that Mk/bsd.port.mk assumes that LOCALBASE for gmake
is always /usr/local. Please, try the following patch.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


-------------- next part --------------
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.732
diff -u -r1.732 bsd.port.mk
--- bsd.port.mk	1 Jul 2012 20:57:48 -0000	1.732
+++ bsd.port.mk	7 Jul 2012 12:20:17 -0000
@@ -1647,7 +1647,7 @@
 EXTRACT_DEPENDS+=	unmakeself:${PORTSDIR}/archivers/unmakeself
 .endif
 .if defined(USE_GMAKE)
-BUILD_DEPENDS+=		gmake:${PORTSDIR}/devel/gmake
+BUILD_DEPENDS+=		${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake
 CONFIGURE_ENV+=	MAKE=${GMAKE}
 .endif
 


More information about the freebsd-ports mailing list