1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- fix option RUBY to build with ruby 2.1

PR:		198329
This commit is contained in:
Dirk Meyer 2015-03-08 10:07:35 +00:00
parent a62cde37b4
commit da9381a18f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380755

View File

@ -174,10 +174,6 @@ BROKEN= guile is too old
BROKEN= Ming incomplete, uses removed libgraph
.endif
.if ${PORT_OPTIONS:MRUBY}
BROKEN= illegal macro in libdata/pkgconfig/ruby-1.9.pc
.endif
.if ${OSVERSION} > 1100000
.if ${PORT_OPTIONS:MPHP}
BROKEN= code generated by swig fails to compile
@ -303,6 +299,7 @@ post-patch:
${REINPLACE_CMD} -e "s|/usr/include/php|${LOCALBASE}/include/php|g" \
-e "s|vendorarchdir|sitearchdir|g" \
-e "s|-lruby|-lruby${RUBY_SUFFIX}|g" \
-e "s|ruby-1[.]9|ruby-${RUBY_VER}|g" \
-e "s|Config::|RbConfig::|" \
-e 's|PHP_INSTALL_DIR=.*|PHP_INSTALL_DIR="${PREFIX}/lib/php/${PHP_EXT_DIR}"|' \
-e 's|PHP_INSTALL_DATADIR=.*|PHP_INSTALL_DATADIR="${PREFIX}/share/php"|' \