diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-06-05 23:24:18 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-06-06 21:36:28 +0100 |
commit | 43d65c90b2161ef8205f0aaa3dfd3b9bd034f257 (patch) | |
tree | 77c2260366e418c9db636bfa99e4ed256173867f /games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch | |
parent | media-libs/libepoxy: 1.5.2 tested on ~amd64-fbsd (diff) | |
download | gentoo-43d65c90b2161ef8205f0aaa3dfd3b9bd034f257.tar.gz gentoo-43d65c90b2161ef8205f0aaa3dfd3b9bd034f257.tar.bz2 gentoo-43d65c90b2161ef8205f0aaa3dfd3b9bd034f257.zip |
games-strategy/ufoai: Rename from ufo-ai and bump to 2.5.0_p20180603
The rename and bump could not be done separately in a safe
manner. Upstream has requested this rename for consistency. They also
kindly provided an ebuild, which I fixed up.
Closes: https://bugs.gentoo.org/515660
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch')
-rw-r--r-- | games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch b/games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch new file mode 100644 index 000000000000..5c92f433e279 --- /dev/null +++ b/games-strategy/ufoai/files/ufoai-2.5.0_p20180603-install.patch @@ -0,0 +1,37 @@ +* Prevent stripping +* Prevent installation of useless wrappers +* Install binaries to the right locations + +Chewi +2018/06/05 + +diff -Naur a/Makefile b/Makefile +--- a/Makefile 2018-06-03 21:55:40.000000000 +0100 ++++ b/Makefile 2018-06-05 22:29:08.666944853 +0100 +@@ -33,8 +33,8 @@ + CONFIGURE_PREFIX ?= + + INSTALL ?= install +-INSTALL_PROGRAM ?= $(INSTALL) -m 755 -s +-INSTALL_SCRIPT ?= $(INSTALL) -m 755 ++INSTALL_PROGRAM ?= $(INSTALL) -m 755 ++INSTALL_SCRIPT ?= true + INSTALL_DIR ?= $(INSTALL) -d + INSTALL_MAN ?= $(INSTALL) -m 444 + INSTALL_DATA ?= $(INSTALL) -m 444 +@@ -162,8 +162,13 @@ + + install-$(1): $($(1)_FILE) + @echo 'Install $$<' +- $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGDATADIR)/$(dir $($(1)_FILE)) +- $(Q)$(INSTALL_PROGRAM) $$< $(DESTDIR)$(PKGDATADIR)/$$< ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGBINDIR)/ ++ $(Q)$(INSTALL_PROGRAM) $$< $(DESTDIR)$(PKGBINDIR)/ ++ ++install-game: $(game_FILE) ++ @echo 'Install $$<' ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGLIBDIR)/ ++ $(Q)$(INSTALL_PROGRAM) $$< $(DESTDIR)$(PKGLIBDIR)/$(notdir $(game_FILE)) + + uninstall-$(1): + @echo 'Uninstall $($(1)_FILE)' |