From 08b84627d6c7969de8fbde8e9eff37cafa725a77 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 13 Oct 2017 20:32:20 +0000 Subject: [PATCH] Mark MAKE_JOBS_UNSAFE - - - loadpath.o --- loadpath.c:30:2: error: RUBY_EXEC_PREFIX must be defined #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]; ^ loadpath.c:59:33: error: use of undeclared identifier 'RUBY_EXEC_PREFIX' const char ruby_exec_prefix[] = RUBY_EXEC_PREFIX; ^ loadpath.c:68:5: error: use of undeclared identifier 'RUBY_EXEC_PREFIX' RUBY_SITE_LIB2 "\0" ^ loadpath.c:46:37: note: expanded from macro 'RUBY_SITE_LIB2' #define RUBY_SITE_LIB2 RUBY_SITE_LIB "/"RUBY_LIB_VERSION ^ loadpath.c:35:23: note: expanded from macro 'RUBY_SITE_LIB' #define RUBY_SITE_LIB RUBY_LIB_PREFIX"/site_ruby" ^ loadpath.c:32:25: note: expanded from macro 'RUBY_LIB_PREFIX' #define RUBY_LIB_PREFIX RUBY_EXEC_PREFIX"/lib/ruby" ^ loadpath.c:68:5: error: expected ';' after top level declarator loadpath.c:46:37: note: expanded from macro 'RUBY_SITE_LIB2' #define RUBY_SITE_LIB2 RUBY_SITE_LIB "/"RUBY_LIB_VERSION ^ loadpath.c:35:23: note: expanded from macro 'RUBY_SITE_LIB' #define RUBY_SITE_LIB RUBY_LIB_PREFIX"/site_ruby" ^ loadpath.c:32:41: note: expanded from macro 'RUBY_LIB_PREFIX' #define RUBY_LIB_PREFIX RUBY_EXEC_PREFIX"/lib/ruby" ^ 5 errors generated. *** [loadpath.o] Error code 1 --- lang/ruby23/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/ruby23/Makefile b/lang/ruby23/Makefile index 6c1fb05c19f6..b43c65e37feb 100644 --- a/lang/ruby23/Makefile +++ b/lang/ruby23/Makefile @@ -73,6 +73,10 @@ CPE_VENDOR= ruby-lang CPE_VERSION= ${RUBY_RELVERSION} CPE_UPDATE= p${RUBY_PATCHLEVEL} +# --- loadpath.o --- +# loadpath.c:30:2: error: RUBY_EXEC_PREFIX must be defined +MAKE_JOBS_UNSAFE=yes + .include # PORTREVISION/PORTEPOCH hack