From feab4fb4500cfe68bf18dab20f5cdd73db4d68f9 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 9 Jan 2013 19:24:27 +0000 Subject: [PATCH] unbreak on mips64el by compiling the extensions with -O1. with help from jeremy@ on figuring out the needed CONFIGURE_ARGS --- databases/ruby-amalgalite/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/databases/ruby-amalgalite/Makefile b/databases/ruby-amalgalite/Makefile index 19403ed7536..e0fdab588b7 100644 --- a/databases/ruby-amalgalite/Makefile +++ b/databases/ruby-amalgalite/Makefile @@ -1,6 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2013/01/09 17:38:52 jeremy Exp $ - -BROKEN-mips64el= hangs when compiling sqlite3.o +# $OpenBSD: Makefile,v 1.10 2013/01/09 19:24:27 jasper Exp $ COMMENT = ruby SQLite3 embedded database library @@ -21,6 +19,9 @@ PERMIT_DISTFILES_FTP = Yes MODULES = lang/ruby CONFIGURE_STYLE = ruby gem ext +.if ${MACHINE_ARCH} == "mips64el" +CONFIGURE_ARGS = --with-cflags="-O1" +.endif BUILD_DEPENDS = ${RUN_DEPENDS} RUN_DEPENDS = devel/ruby-arrayfields,${MODRUBY_FLAVOR}>=4.7.4,<4.8 \