Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2014 15:55:20 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368197 - head/lang/ruby21
Message-ID:  <201409141555.s8EFtKLZ080540@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Sep 14 15:55:20 2014
New Revision: 368197
URL: http://svnweb.freebsd.org/changeset/ports/368197
QAT: https://qat.redports.org/buildarchive/r368197/

Log:
  lang/ruby21: switch to USES=execinfo
  
  While here, move MAKE_JOBS_UNSAFE to CAPIDOCS option since thats the only place
  it seems necessary
  
  PR:		193413
  Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>

Modified:
  head/lang/ruby21/Makefile

Modified: head/lang/ruby21/Makefile
==============================================================================
--- head/lang/ruby21/Makefile	Sun Sep 14 15:54:16 2014	(r368196)
+++ head/lang/ruby21/Makefile	Sun Sep 14 15:55:20 2014	(r368197)
@@ -17,8 +17,7 @@ COMMENT?=	Object-oriented interpreted sc
 LICENSE=	BSD2CLAUSE RUBY
 LICENSE_COMB=	dual
 
-LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
-		libyaml.so:${PORTSDIR}/textproc/libyaml
+LIB_DEPENDS=	libyaml.so:${PORTSDIR}/textproc/libyaml
 
 # Using LIB_DEPENDS finds the libffi from gcc which causes problems
 BUILD_DEPENDS=	libffi>=0:${PORTSDIR}/devel/libffi
@@ -47,7 +46,6 @@ USE_RUBY=		yes
 RUBY_NO_BUILD_DEPENDS=	yes
 RUBY_NO_RUN_DEPENDS=	yes
 NO_LATEST_LINK=		yes
-MAKE_JOBS_UNSAFE=	yes
 
 OPTIONS_DEFINE=		CAPIDOCS DEBUG DOCS EXAMPLES RDOC
 OPTIONS_DEFAULT=	RDOC READLINE
@@ -64,7 +62,7 @@ CAPIDOCS_BUILD_DEPENDS=	doxygen>0:${PORT
 CAPIDOCS_CONFIGURE_OFF=	--disable-install-capi
 RDOC_CONFIGURE_OFF=	--disable-install-rdoc
 
-USES=		tar:bzip2 cpe
+USES=		execinfo cpe tar:bzip2
 
 CPE_VENDOR=	ruby-lang
 CPE_VERSION=	${RUBY_RELVERSION}
@@ -92,6 +90,10 @@ CONFIGURE_ARGS+=	--disable-dtrace
 
 CONFIGURE_ENV=	debugflags=
 
+.if ${PORT_OPTIONS:MCAPIDOCS}
+MAKE_JOBS_UNSAFE=	yes
+.endif
+
 .if ${PORT_OPTIONS:MLIBEDIT}
 BUILD_DEPENDS+=	libedit>=0:${PORTSDIR}/devel/libedit
 RUN_DEPENDS+=	libedit>=0:${PORTSDIR}/devel/libedit



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