Skip to content

Commit

Permalink
ruby: use old_openssl port group
Browse files Browse the repository at this point in the history
  • Loading branch information
Chih-Hsuan Yen authored and Chih-Hsuan Yen committed May 21, 2019
1 parent bf9a06d commit 9955c9c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lang/ruby/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ PortSystem 1.0
PortGroup muniversal 1.0
PortGroup compiler_blacklist_versions 1.0
PortGroup select 1.0
PortGroup old_openssl 1.0

name ruby
version 1.8.7-p374
Expand Down Expand Up @@ -34,12 +35,13 @@ platforms darwin

depends_lib port:libiconv \
port:readline \
port:openssl10 \
port:zlib \
port:ncurses \
port:gdbm
depends_run port:ruby_select

openssl.branch 1.0

select.group ruby
select.file ${filespath}/ruby18

Expand Down Expand Up @@ -97,8 +99,8 @@ configure.args --enable-shared \
--without-tk \
--with-vendordir=${prefix}/lib/ruby/vendor_ruby \
--with-opt-dir=${prefix} \
--with-openssl-include=${prefix}/include/openssl-1.0 \
--with-openssl-lib=${prefix}/lib/openssl-1.0 \
--with-openssl-include=${openssl.includedir} \
--with-openssl-lib=${openssl.libdir} \
--program-suffix=1.8
# ignore minor version for archdir, like i686-darwin9
configure.env UNAME_RELEASE=${os.major}
Expand Down

0 comments on commit 9955c9c

Please sign in to comment.