Index: Makefile =================================================================== --- Makefile (revision 456022) +++ Makefile (working copy) @@ -36,6 +36,11 @@ CONFIGURE_ENV+= CCPIC=-fPIC .endif +post-patch: +.if ${ARCH} == "mips64" + @${REINPLACE_CMD} -e 's|__sgi|__unix__|' ${WRKSRC}/configure +.endif + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so