Skip to content
Permalink
Browse files

ruby/rb-rcairo: fix possible build failure

add PKG_CONFIG_PATH to avoild error from missing xproto.pc at configure.
see https://trac.macports.org/ticket/57237
  • Loading branch information
kimuraw committed Oct 17, 2018
1 parent 34d2da9 commit 6cf3dda10a2afbd7f8bc8b3137c840bd460eb4aa
Showing with 2 additions and 1 deletion.
  1. +2 −1 ruby/rb-rcairo/Portfile
@@ -24,5 +24,6 @@ checksums md5 6256920a7e17e3a1bfa44e99d91f99b7 \
configure.cmd ${ruby.bin} -rubygems ext/cairo/extconf.rb
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \
port:rb-pkg-config
configure.env-append PKG_CONFIG=${prefix}/bin/pkg-config
configure.env-append PKG_CONFIG=${prefix}/bin/pkg-config \
PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig
configure.args-append --vendor

0 comments on commit 6cf3dda

Please sign in to comment.
You can’t perform that action at this time.