Quagga[-re] on mips64

Joe Holden lists at rewt.org.uk
Tue Feb 4 15:11:15 UTC 2014


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


More information about the freebsd-ports mailing list