diff options
author | Keri Harris <keri@gentoo.org> | 2022-11-26 13:18:46 +0100 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2022-11-26 13:18:46 +0100 |
commit | 9938a9f418166aac77505654f75ea83e83c64e5c (patch) | |
tree | 014860e9822febae7e06e05858988e0834fd9f7e /dev-lang/gprolog | |
parent | sys-kernel/gentoo-sources: add 6.0.10 (diff) | |
download | gentoo-9938a9f418166aac77505654f75ea83e83c64e5c.tar.gz gentoo-9938a9f418166aac77505654f75ea83e83c64e5c.tar.bz2 gentoo-9938a9f418166aac77505654f75ea83e83c64e5c.zip |
dev-lang/gprolog: use relative symlinks for gprolog binaries
Thanks to Arsen Arsenovic for diagnosing the root cause of this.
Closes: https://bugs.gentoo.org/882519
Signed-off-by: Keri Harris <keri@gentoo.org>
Diffstat (limited to 'dev-lang/gprolog')
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.4.5-links.patch | 2 | ||||
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.5.0-destdir.patch | 2 | ||||
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.5.0-links.patch | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-lang/gprolog/files/gprolog-1.4.5-links.patch b/dev-lang/gprolog/files/gprolog-1.4.5-links.patch index c39a1cf9a28c..573e27910bd0 100644 --- a/dev-lang/gprolog/files/gprolog-1.4.5-links.patch +++ b/dev-lang/gprolog/files/gprolog-1.4.5-links.patch @@ -9,7 +9,7 @@ if test $(LINKS_DIR) != none; then \ ./mkinstalldirs $(LINKS_DIR); \ - (cd $(LINKS_DIR) ; $(LN_S) $(INSTALL_DIR)/bin/* .); \ -+ (cd $(LINKS_DIR); for i in $(BIN_FILES); do $(LN_S) $(INSTALL_DIR)/bin/$$i .; done); \ ++ (cd $(LINKS_DIR); for i in $(BIN_FILES); do $(LN_S) -r $(INSTALL_DIR)/bin/$$i .; done); \ fi uninstall-links: diff --git a/dev-lang/gprolog/files/gprolog-1.5.0-destdir.patch b/dev-lang/gprolog/files/gprolog-1.5.0-destdir.patch index 86719e1bdcb4..c875edd0ec18 100644 --- a/dev-lang/gprolog/files/gprolog-1.5.0-destdir.patch +++ b/dev-lang/gprolog/files/gprolog-1.5.0-destdir.patch @@ -7,7 +7,7 @@ - if test $(LINKS_DIR) != none; then \ + if test @LINKS_DIR@ != none; then \ ./mkinstalldirs $(LINKS_DIR); \ - (cd $(LINKS_DIR) ; $(LN_S) $(wildcard $(INSTALL_DIR)/bin/*) .); \ + (cd $(LINKS_DIR) ; $(LN_S) -r $(wildcard $(INSTALL_DIR)/bin/*) .); \ fi uninstall-links: diff --git a/dev-lang/gprolog/files/gprolog-1.5.0-links.patch b/dev-lang/gprolog/files/gprolog-1.5.0-links.patch index e1f673156e46..70f18610f04b 100644 --- a/dev-lang/gprolog/files/gprolog-1.5.0-links.patch +++ b/dev-lang/gprolog/files/gprolog-1.5.0-links.patch @@ -9,7 +9,7 @@ if test $(LINKS_DIR) != none; then \ ./mkinstalldirs $(LINKS_DIR); \ - (cd $(LINKS_DIR) ; $(LN_S) $(INSTALL_DIR)/bin/* .); \ -+ (cd $(LINKS_DIR) ; $(LN_S) $(wildcard $(INSTALL_DIR)/bin/*) .); \ ++ (cd $(LINKS_DIR) ; $(LN_S) -r $(wildcard $(INSTALL_DIR)/bin/*) .); \ fi uninstall-links: |