Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 09:07:34 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488080 - head/audio/gxplugins-lv2
Message-ID:  <201812220907.wBM97YS6013017@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Dec 22 09:07:34 2018
New Revision: 488080
URL: https://svnweb.freebsd.org/changeset/ports/488080

Log:
  audio/gxplugins-lv2: Unbreak on 12: it needs the GNU linker and it only works when first in PATH
  
  Reported by:	fallout

Modified:
  head/audio/gxplugins-lv2/Makefile

Modified: head/audio/gxplugins-lv2/Makefile
==============================================================================
--- head/audio/gxplugins-lv2/Makefile	Sat Dec 22 09:00:26 2018	(r488079)
+++ head/audio/gxplugins-lv2/Makefile	Sat Dec 22 09:07:34 2018	(r488080)
@@ -24,7 +24,8 @@ USE_GNOME=	cairo
 USE_XORG=	x11
 USE_BINUTILS=	yes # linking needs some GNU features, fails on 12 without this, see https://github.com/brummer10/GxPlugins.lv2/issues/9
 
-LDFLAGS+=	-B ${LOCALBASE}/bin/ld # Use ld provided by USE_BINUTILS for GNU features, otherwise GNU ld isn't called
+MAKE_ENV=	PATH=${LOCALBASE}/bin:/usr/bin:/bin # 'ld' needs to be first in the path on 12, -B{path} isn't sufficient for some reason
+LDFLAGS+=	-B${LOCALBASE}/bin # Use ld provided by USE_BINUTILS for GNU features, otherwise GNU ld isn't called
 
 .for x in	GxAxisFace.lv2:c370e75 GxBottleRocket.lv2:8d1a914 GxDOP250.lv2:574b709 GxFz1b.lv2:d204796 GxFz1s.lv2:973d6f7 \
 		GxGuvnor.lv2:6082bcf GxHeathkit.lv2:bb73b24 GxHotBox.lv2:db17513 GxHyperion.lv2:9b91395 GxKnightFuzz.lv2:0d9518f \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812220907.wBM97YS6013017>