mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
databases/ruby-gdbm: Fix build with Ruby 2.4
This commit is contained in:
parent
99bd8ec26b
commit
2bf4d517ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456377
1 changed files with 8 additions and 1 deletions
|
@ -28,8 +28,15 @@ MAKE_ARGS= sitelibdir='$$(rubylibdir)' \
|
|||
INSTALL_PROG="${INSTALL_PROGRAM}" \
|
||||
INSTALL_DATA="${INSTALL_DATA}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${RUBY_VER} >= 2.4
|
||||
@${REINPLACE_CMD} -e '/\/include\/ruby.h/d' ${WRKSRC}/depend
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}
|
||||
${LN} -sf `cd ${PORTSDIR}/${RUBY_PORT}; ${MAKE} -V WRKDIR`/${PORTNAME} ${WRKDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue