Skip to content

Commit

Permalink
Merge pull request #930 from ctborg/master
Browse files Browse the repository at this point in the history
Adds support for Solaris, OpenSolaris, or illumos.
  • Loading branch information
leejarvis committed Jun 27, 2013
2 parents 7382a6e + 0c83f40 commit 42da60e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ Binary packages are available for:
* SuSE[http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/]
* Fedora[http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756]

If you are installing on Solaris, OpenSolaris, or illumos will need to install
libxslt[http://www.opencsw.org/package/libxslt/] and
libxml[http://www.opencsw.org/package/libxml2_2/] from OpenCSW. After these
libraries have been installed, run:

NOKOGIRI_USE_SYSTEM_LIBRARIES=true sudo gem install nokogiri

== DEVELOPMENT:

=== Developing on C Ruby (MRI)
Expand Down
6 changes: 6 additions & 0 deletions ext/nokogiri/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def have_iconv?
# First search /opt/local for macports
'/opt/local/include',

# Then check for OpenCSW packages
'/opt/csw/include',

# Then search /usr/local for people that installed from source
'/usr/local/include',

Expand All @@ -92,6 +95,9 @@ def have_iconv?
# First search /opt/local for macports
'/opt/local/lib',

# Then check for OpenCSW packages
'/opt/csw/lib',

# Then search /usr/local for people that installed from source
'/usr/local/lib',

Expand Down

0 comments on commit 42da60e

Please sign in to comment.