Lines 21-28
Link Here
|
21 |
|
21 |
|
22 |
OPTIONS_DEFINE= DOCS EXAMPLES |
22 |
OPTIONS_DEFINE= DOCS EXAMPLES |
23 |
|
23 |
|
24 |
BROKEN_RUBY23= yes |
|
|
25 |
|
26 |
USE_RUBY= yes |
24 |
USE_RUBY= yes |
27 |
USE_RUBY_EXTCONF= yes |
25 |
USE_RUBY_EXTCONF= yes |
28 |
USE_RUBY_RDOC= yes |
26 |
USE_RUBY_RDOC= yes |
Lines 59-65
Link Here
|
59 |
|
57 |
|
60 |
.include <bsd.port.pre.mk> |
58 |
.include <bsd.port.pre.mk> |
61 |
|
59 |
|
62 |
.if ${RUBY_VER} >= 2.0 |
60 |
.if ${RUBY_VER} >= 2.0 && ${RUBY_VER} <= 2.2 |
63 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-features.rb |
61 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-features.rb |
64 |
.endif |
62 |
.endif |
65 |
|
63 |
|
Lines 71-77
Link Here
|
71 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-21 |
69 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-21 |
72 |
.endif |
70 |
.endif |
73 |
|
71 |
|
74 |
.if ${RUBY_VER} == 2.2 |
72 |
.if ${RUBY_VER} >= 2.2 |
75 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-22 \ |
73 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-22 \ |
76 |
${FILESDIR}/extra-patch-src-recnum.c-22 \ |
74 |
${FILESDIR}/extra-patch-src-recnum.c-22 \ |
77 |
${FILESDIR}/extra-patch-src-cursor.c-22 |
75 |
${FILESDIR}/extra-patch-src-cursor.c-22 |