svn commit: r417013 - head/lang/ruby22

Mathieu Arnold mat at FreeBSD.org
Fri Jun 17 13:44:40 UTC 2016


Author: mat
Date: Fri Jun 17 13:44:39 2016
New Revision: 417013
URL: https://svnweb.freebsd.org/changeset/ports/417013

Log:
  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

Modified:
  head/lang/ruby22/Makefile   (contents, props changed)

Modified: head/lang/ruby22/Makefile
==============================================================================
--- head/lang/ruby22/Makefile	Fri Jun 17 13:23:41 2016	(r417012)
+++ head/lang/ruby22/Makefile	Fri Jun 17 13:44:39 2016	(r417013)
@@ -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=_set
 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=""


More information about the svn-ports-head mailing list