You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
03cd43aa21
closes https://trac.macports.org/ticket/63845 keep PKG_CONFIG_PATH in Makefile and use it at running `miniruby extconf.rb`. ruby(1.8) does not use pkg-config in ext/openssl when headers and libraries are found from "--with-openssl-include" and "--with-openssl-lib".
51 lines
1.5 KiB
Diff
51 lines
1.5 KiB
Diff
diff -ur ../ruby-2.0.0-p648.org/Makefile.in ./Makefile.in
|
|
--- ../ruby-2.0.0-p648.org/Makefile.in 2013-11-12 23:31:59.000000000 +0900
|
|
+++ ./Makefile.in 2021-11-09 22:24:13.000000000 +0900
|
|
@@ -82,6 +82,9 @@
|
|
BUILTIN_TRANSOBJS = @BUILTIN_TRANSOBJS@
|
|
POSTLINK = @POSTLINK@
|
|
|
|
+PKG_CONFIG = @PKG_CONFIG@
|
|
+PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
|
|
+
|
|
RUBY_BASE_NAME=@RUBY_BASE_NAME@
|
|
RUBY_PROGRAM_VERSION=@RUBY_PROGRAM_VERSION@
|
|
RUBY_INSTALL_NAME=@RUBY_INSTALL_NAME@
|
|
Only in .: Makefile.in.orig
|
|
diff -ur ../ruby-2.0.0-p648.org/common.mk ./common.mk
|
|
--- ../ruby-2.0.0-p648.org/common.mk 2015-03-24 16:41:14.000000000 +0900
|
|
+++ ./common.mk 2021-11-09 22:24:13.000000000 +0900
|
|
@@ -171,7 +171,8 @@
|
|
EXTS_MK = exts.mk
|
|
$(EXTS_MK): $(MKFILES) all-incs $(PREP) $(RBCONFIG) $(LIBRUBY)
|
|
$(ECHO) generating makefile $@
|
|
- $(Q)$(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" --command-output=$(EXTS_MK) $(EXTMK_ARGS) configure
|
|
+ $(Q) PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \
|
|
+ $(MINIRUBY) $(srcdir)/ext/extmk.rb --make="$(MAKE)" --command-output=$(EXTS_MK) $(EXTMK_ARGS) configure
|
|
|
|
configure-ext: $(EXTS_MK)
|
|
|
|
Only in .: common.mk.orig
|
|
diff -ur ../ruby-2.0.0-p648.org/configure ./configure
|
|
--- ../ruby-2.0.0-p648.org/configure 2015-12-16 21:32:46.000000000 +0900
|
|
+++ ./configure 2021-11-09 22:24:13.000000000 +0900
|
|
@@ -749,6 +749,7 @@
|
|
CP
|
|
RM
|
|
PKG_CONFIG
|
|
+PKG_CONFIG_PATH
|
|
PYTHON
|
|
DOXYGEN
|
|
DOT
|
|
@@ -914,7 +915,8 @@
|
|
CXX
|
|
CXXFLAGS
|
|
CCC
|
|
-CPP'
|
|
+CPP
|
|
+PKG_CONFIG_PATH'
|
|
|
|
|
|
# Initialize some variables set by options.
|
|
Only in .: configure.orig
|