On 2016/08/20 17:29, Stuart Henderson wrote:
> On 2016/08/20 14:19, Adam Wolk wrote:
> > PS. I tried switching to USE_WXNEEDED but it seems to have no effect on 
> > cmake.
> 
> USE_WXNEEDED does work with cmake, but it's not working with gcc4
> because it hardcodes /usr/bin/ld rather than searching the path
> (and removing the path from --with-ld in the gcc4 port's Makefile
> results in autoconf failing there).

Aha - this seems to work (i.e. builds and uses ld from the path, so
the wrapper script is found). Any comments on whether it is desirable?

(I'd like some simple way to avoid having to decipher the libreoffice
build :)

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/gcc/4.9/Makefile,v
retrieving revision 1.33
diff -u -p -r1.33 Makefile
--- Makefile    14 Jul 2016 07:22:31 -0000      1.33
+++ Makefile    20 Aug 2016 20:15:11 -0000
@@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = amd64 arm hppa i386 mip
 DPB_PROPERTIES = parallel
 
 V = 4.9.3
-REVISION = 9
+REVISION = 10
 FULL_VERSION = $V
 FULL_PKGVERSION = $V
 
@@ -137,7 +137,6 @@ CONFIGURE_ARGS += \
        --disable-libgomp \
        --disable-tls \
        --with-as=/usr/bin/as \
-       --with-ld=/usr/bin/ld \
        --with-gnu-ld \
        --with-gnu-as \
        --enable-threads=posix \

Reply via email to