From bf3282080ec46292f07db7727d0ea8d1866a249b Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 17 Jun 2016 13:44:39 +0000 Subject: [PATCH] With the default options set, ruby is also sometime failing with: --- loadpath.o --- loadpath.c:30:2: error: RUBY_EXEC_PREFIX must be defined ^ loadpath.c:41:50: error: use of undeclared identifier 'RUBY_LIB_VERSION' typedef char ruby_lib_version_string[(int)sizeof(RUBY_LIB_VERSION) - 2]; Sponsored by: Absolight --- lang/ruby22/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lang/ruby22/Makefile b/lang/ruby22/Makefile index 8a64ee755ee0..6fc63d719a8c 100644 --- a/lang/ruby22/Makefile +++ b/lang/ruby22/Makefile @@ -20,6 +20,8 @@ LICENSE_FILE_RUBY= ${WRKSRC}/COPYING BROKEN_powerpc64= Does not build +MAKE_JOBS_UNSAFE= yes + # Using LIB_DEPENDS finds the libffi from gcc which causes problems BUILD_DEPENDS= libffi>=0:devel/libffi LIB_DEPENDS= libyaml.so:textproc/libyaml @@ -103,10 +105,6 @@ CONFIGURE_ARGS+= --with-setjmp-type=_setjmp CONFIGURE_ENV+= ac_cv_func__setjmp=yes .endif -.if ${PORT_OPTIONS:MCAPIDOCS} -MAKE_JOBS_UNSAFE= yes -.endif - .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} MLINKS= ${RUBY_NAME}.1 ruby.1 PLIST_SUB+= IF_DEFAULT=""