Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Feb 2014 15:11:05 +0000
From:      Joe Holden <lists@rewt.org.uk>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Quagga[-re] on mips64
Message-ID:  <52F10309.2010407@rewt.org.uk>

next in thread | raw e-mail | index | archive | help
Hi chaps,

On mips64 (at least), the port produces object files instead of 
executable binaries, building with --disable-pie fixes that...

before I raise a PR, does this look good?

--- Makefile.orig	2014-02-04 12:52:20.740310244 +0000
+++ Makefile	2014-02-04 15:04:34.719614897 +0000
@@ -61,6 +61,10 @@
  ENABLE_GROUP=quagga
  .endif

+.if ${ARCH:Mmips*}
+CONFIGURE_ARGS+=--disable-pie
+.endif
+
  CONFIGURE_ARGS+=--enable-user=${ENABLE_USER}
  CONFIGURE_ARGS+=--enable-group=${ENABLE_GROUP}


This produces a working build/package for me at least, only thing I'm 
not sure on is how that will work if mips packages are ever built for 
installation by pkg and cross-built.

Cheers,
Joe



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