Lines 19-30
BUILD_DEPENDS= libffi>=0:devel/libffi
Link Here
|
19 |
LIB_DEPENDS= libyaml.so:textproc/libyaml |
19 |
LIB_DEPENDS= libyaml.so:textproc/libyaml |
20 |
RUN_DEPENDS= libffi>=0:devel/libffi |
20 |
RUN_DEPENDS= libffi>=0:devel/libffi |
21 |
|
21 |
|
22 |
USES= autoreconf cpe ruby:none ssl tar:xz |
22 |
USES= autoreconf cpe localbase ruby:none ssl tar:xz |
23 |
CPE_VENDOR= ruby-lang |
23 |
CPE_VENDOR= ruby-lang |
24 |
CPE_VERSION= ${RUBY_RELVERSION} |
24 |
CPE_VERSION= ${RUBY_RELVERSION} |
25 |
CPE_UPDATE= p${RUBY_PATCHLEVEL} |
25 |
CPE_UPDATE= p${RUBY_PATCHLEVEL} |
26 |
USE_LDCONFIG= yes |
26 |
USE_LDCONFIG= yes |
27 |
|
27 |
|
|
|
28 |
# We get these from other ports |
29 |
EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/bin/gem \ |
30 |
--exclude ${DISTNAME}/ext/win32* \ |
31 |
--exclude ${DISTNAME}/lib/bundler* \ |
32 |
--exclude ${DISTNAME}/libexec/bundler \ |
33 |
--exclude ${DISTNAME}/man/erb.1 \ |
34 |
--exclude ${DISTNAME}/man/irb.1 \ |
35 |
--exclude ${DISTNAME}/man/ri.1 \ |
36 |
--no-same-owner --no-same-permissions |
37 |
|
28 |
GNU_CONFIGURE= yes |
38 |
GNU_CONFIGURE= yes |
29 |
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ |
39 |
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \ |
30 |
--disable-rpath \ |
40 |
--disable-rpath \ |
Lines 36-44
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \
Link Here
|
36 |
--with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" |
46 |
--with-vendordir="${PREFIX}/lib/ruby/vendor_ruby" |
37 |
CONFIGURE_ENV= debugflags= |
47 |
CONFIGURE_ENV= debugflags= |
38 |
|
48 |
|
39 |
CPPFLAGS+= -I${LOCALBASE}/include |
|
|
40 |
# Keep this, else ruby will fail to load libraries dependent of libpthread. |
49 |
# Keep this, else ruby will fail to load libraries dependent of libpthread. |
41 |
LIBS+= -lpthread -L${LOCALBASE}/lib |
50 |
LIBS+= -lpthread |
42 |
WRKSRC= ${RUBY_WRKSRC} |
51 |
WRKSRC= ${RUBY_WRKSRC} |
43 |
|
52 |
|
44 |
RUBY_VER= 3.2 |
53 |
RUBY_VER= 3.2 |
Lines 123-135
RB_SET_CONF_VAR= ${SH} -c \
Link Here
|
123 |
'${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' \ |
132 |
'${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' \ |
124 |
-- |
133 |
-- |
125 |
|
134 |
|
126 |
post-patch: |
|
|
127 |
# We get these from other ports |
128 |
.for d in bin/* ext/dbm ext/gdbm ext/win32* lib/bundler* libexec/bundler* \ |
129 |
man/bundle* man/erb.1 man/gemfile* man/irb.1 man/ri.1 |
130 |
@${RM} -r ${BUILD_WRKSRC}/${d} |
131 |
.endfor |
132 |
|
133 |
post-build: |
135 |
post-build: |
134 |
# |
136 |
# |
135 |
# Hack to allow modules to be installed into separate PREFIX and/or under user |
137 |
# Hack to allow modules to be installed into separate PREFIX and/or under user |