FreeBSD Bugzilla – Attachment 144719 Details for
Bug 187652
databases/ruby-bdb: 'make configure' fails with Ruby 2.1.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update patch to fit current port tree.
patch-databases_ruby-bdb (text/plain), 1.43 KB, created by
Yasuhiro Kimura
on 2014-07-16 08:22:46 UTC
(
hide
)
Description:
Update patch to fit current port tree.
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2014-07-16 08:22:46 UTC
Size:
1.43 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 362042) >+++ Makefile (working copy) >@@ -15,6 +15,8 @@ > MAINTAINER= knu@FreeBSD.org > COMMENT= Ruby interface to Oracle Berkeley DB revision 2 or later > >+LICENSE= RUBY >+ > USE_BDB= yes > > OPTIONS_DEFINE= DOCS EXAMPLES >@@ -54,33 +56,29 @@ > examples/basic.rb \ > examples/lock.rb > >- > NEED_ROOT= yes > > .include <bsd.port.pre.mk> > > post-patch: >-.if ${RUBY_VER} == 2.0 >+.if ${RUBY_VER} >= 2.0 > @${REINPLACE_CMD} -e '/remove_const/d' ${WRKSRC}/src/features.rb > .endif > >+.if ${RUBY_VER} >= 2.1 >+ @${REINPLACE_CMD} -e 's|RBASIC(obj)->klass = \(.*\);|RBASIC_SET_CLASS_RAW(obj, \1);|' -e 's|RCLASS(\([[:alnum:]_]*\))->m_tbl|RCLASS_M_TBL(\1)|g' ${WRKSRC}/bdbxml2/bdbxml.h ${WRKSRC}/src/common.c >+.endif > post-build: >-.if ${PORT_OPTIONS:MDOCS} > (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \ > ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc) >-.endif > > post-install: > ${STRIP_CMD} ${STAGEDIR}${RUBY_SITEARCHLIBDIR}/bdb.so >-.if ${PORT_OPTIONS:MDOCS} > ${MKDIR} ${STAGEDIR}${DOCSDIR}/doc > (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) > (cd ${WRKSRC}/docs/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/doc) >-.endif >-.if ${PORT_OPTIONS:MEXAMPLES} > ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ > (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -empty") >-.endif > > regression-test: build > @${MKDIR} ${BUILD_WRKSRC}/tmp
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187652
:
140945
|
140946
|
140947
| 144719