diff options
author | Keri Harris <keri@gentoo.org> | 2012-07-04 18:29:36 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2012-07-04 18:29:36 +0000 |
commit | 23cebbb59995d161e2b4521fcaea6e4860487e43 (patch) | |
tree | 159b015295120196b0ffd53fe72776b5d2e1ec33 /dev-lang/gprolog/files | |
parent | epunt_cxx to avoid C++ /lib/cpp requirement wrt #424689 by Sylvain BERTRAND (diff) | |
download | historical-23cebbb59995d161e2b4521fcaea6e4860487e43.tar.gz historical-23cebbb59995d161e2b4521fcaea6e4860487e43.tar.bz2 historical-23cebbb59995d161e2b4521fcaea6e4860487e43.zip |
Fix up binary symlinks in gprolog install. Closes #424323
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-lang/gprolog/files')
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.4.0-links.patch | 15 | ||||
-rw-r--r-- | dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch | 9 |
2 files changed, 15 insertions, 9 deletions
diff --git a/dev-lang/gprolog/files/gprolog-1.4.0-links.patch b/dev-lang/gprolog/files/gprolog-1.4.0-links.patch new file mode 100644 index 000000000000..fc8c1191f9fc --- /dev/null +++ b/dev-lang/gprolog/files/gprolog-1.4.0-links.patch @@ -0,0 +1,15 @@ +--- gprolog-1.4.0.orig/src/Makefile.in 2011-04-08 18:35:22.000000000 +0200 ++++ gprolog-1.4.0/src/Makefile.in 2012-07-04 09:46:49.000000000 +0200 +@@ -81,10 +81,10 @@ + + # --- Links --- # + +-install-links: uninstall-links ++install-links: + 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); \ + fi + + uninstall-links: diff --git a/dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch b/dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch index b68ee7d8ea00..ff6e2bd30d38 100644 --- a/dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch +++ b/dev-lang/gprolog/files/gprolog-1.4.0-nodocs.patch @@ -1,14 +1,5 @@ --- gprolog-1.4.0.orig/src/Makefile.in 2011-04-09 04:35:22.000000000 +1200 +++ gprolog-1.4.0/src/Makefile.in 2011-07-02 08:25:22.000000000 +1200 -@@ -82,7 +81,7 @@ - # --- Links --- # - - install-links: uninstall-links -- if test $(LINKS_DIR) != none; then \ -+ if test $(LINKS_DIR) != $(DESTDIR)none; then \ - ./mkinstalldirs $(LINKS_DIR); \ - (cd $(LINKS_DIR) ; $(LN_S) $(INSTALL_DIR)/bin/* .); \ - fi @@ -97,7 +96,7 @@ # --- Documentation --- # |