* [ruby-core:122972] [Ruby Bug#21546] `prefix` in ruby.pc is wrong when `--enable-load-relative`
@ 2025-08-17 8:11 nobu (Nobuyoshi Nakada) via ruby-core
2025-08-27 21:52 ` [ruby-core:123094] " alanwu (Alan Wu) via ruby-core
2025-09-14 4:25 ` [ruby-core:123248] " nagachika (Tomoyuki Chikanaga) via ruby-core
0 siblings, 2 replies; 3+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2025-08-17 8:11 UTC (permalink / raw)
To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)
Issue #21546 has been reported by nobu (Nobuyoshi Nakada).
----------------------------------------
Bug #21546: `prefix` in ruby.pc is wrong when `--enable-load-relative`
https://bugs.ruby-lang.org/issues/21546
* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Backport: 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED
----------------------------------------
It is relocatable and should reflect the installed location.
```console
$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
$ pkg-config --variable=prefix ruby-3.5
/.
```
Currently `pkg-config --define-prefix` works because it overrides the `prefix` value.
```console
$ pkg-config --variable=prefix --define-prefix ruby-3.5
/opt/local
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:123094] [Ruby Bug#21546] `prefix` in ruby.pc is wrong when `--enable-load-relative`
2025-08-17 8:11 [ruby-core:122972] [Ruby Bug#21546] `prefix` in ruby.pc is wrong when `--enable-load-relative` nobu (Nobuyoshi Nakada) via ruby-core
@ 2025-08-27 21:52 ` alanwu (Alan Wu) via ruby-core
2025-09-14 4:25 ` [ruby-core:123248] " nagachika (Tomoyuki Chikanaga) via ruby-core
1 sibling, 0 replies; 3+ messages in thread
From: alanwu (Alan Wu) via ruby-core @ 2025-08-27 21:52 UTC (permalink / raw)
To: ruby-core; +Cc: alanwu (Alan Wu)
Issue #21546 has been updated by alanwu (Alan Wu).
Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: DONE
3.4 backport done in commit:d49c7d0661faa964099b8c28ac316e33ae641051
----------------------------------------
Bug #21546: `prefix` in ruby.pc is wrong when `--enable-load-relative`
https://bugs.ruby-lang.org/issues/21546#change-114408
* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Backport: 3.2: REQUIRED, 3.3: REQUIRED, 3.4: DONE
----------------------------------------
It is relocatable and should reflect the installed location.
```console
$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
$ pkg-config --variable=prefix ruby-3.5
/.
```
Currently `pkg-config --define-prefix` works because it overrides the `prefix` value.
```console
$ pkg-config --variable=prefix --define-prefix ruby-3.5
/opt/local
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-core:123248] [Ruby Bug#21546] `prefix` in ruby.pc is wrong when `--enable-load-relative`
2025-08-17 8:11 [ruby-core:122972] [Ruby Bug#21546] `prefix` in ruby.pc is wrong when `--enable-load-relative` nobu (Nobuyoshi Nakada) via ruby-core
2025-08-27 21:52 ` [ruby-core:123094] " alanwu (Alan Wu) via ruby-core
@ 2025-09-14 4:25 ` nagachika (Tomoyuki Chikanaga) via ruby-core
1 sibling, 0 replies; 3+ messages in thread
From: nagachika (Tomoyuki Chikanaga) via ruby-core @ 2025-09-14 4:25 UTC (permalink / raw)
To: ruby-core; +Cc: nagachika (Tomoyuki Chikanaga)
Issue #21546 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: DONE to 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
ruby_3_3 commit:210643c51d706a486ad460111eac51d4d34639cf merged revision(s) commit:7c28fb2fb2544e5fed75ef216c4dd08084b38671.
----------------------------------------
Bug #21546: `prefix` in ruby.pc is wrong when `--enable-load-relative`
https://bugs.ruby-lang.org/issues/21546#change-114581
* Author: nobu (Nobuyoshi Nakada)
* Status: Closed
* Backport: 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
----------------------------------------
It is relocatable and should reflect the installed location.
```console
$ export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}
$ pkg-config --variable=prefix ruby-3.5
/.
```
Currently `pkg-config --define-prefix` works because it overrides the `prefix` value.
```console
$ pkg-config --variable=prefix --define-prefix ruby-3.5
/opt/local
```
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-14 4:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-17 8:11 [ruby-core:122972] [Ruby Bug#21546] `prefix` in ruby.pc is wrong when `--enable-load-relative` nobu (Nobuyoshi Nakada) via ruby-core
2025-08-27 21:52 ` [ruby-core:123094] " alanwu (Alan Wu) via ruby-core
2025-09-14 4:25 ` [ruby-core:123248] " nagachika (Tomoyuki Chikanaga) via ruby-core
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).