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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to