Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2016 13:44:39 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417013 - head/lang/ruby22
Message-ID:  <201606171344.u5HDidVd019835@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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=""



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606171344.u5HDidVd019835>