1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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
This commit is contained in:
Mathieu Arnold 2016-06-17 13:44:39 +00:00
parent b09abe9e69
commit bf3282080e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417013

View File

@ -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=""