Skip to content

Commit

Permalink
dev-ada/gtkada: drop uninstall phase
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/830017
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Dec 27, 2021
1 parent 4925920 commit f77708f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions dev-ada/gtkada/files/gtkada-2021-uninstall.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- a/Makefile.in 2021-12-27 09:42:14.575136019 +0100
+++ b/Makefile.in 2021-12-27 09:42:31.159870381 +0100
@@ -113,10 +113,6 @@
endif

install-clean:
-ifneq (,$(wildcard $(prefix)/lib/gnat/manifests/gtkada))
- -$(GPRINSTALL) --uninstall -f --prefix=$(prefix) \
- --project-subdir=lib/gnat gtkada
-endif

install: install-clean
${GPRINSTALL_FULL} -XLIBRARY_TYPE=$(LIBRARY_TYPE_FOR_TOOLS) \
1 change: 1 addition & 0 deletions dev-ada/gtkada/gtkada-2021.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ S="${WORKDIR}"/${MYP}
PATCHES=(
"${FILESDIR}"/${PN}-2017-r1-gentoo.patch
"${FILESDIR}"/${PN}-2019-gentoo.patch
"${FILESDIR}"/${P}-uninstall.patch
)

src_prepare() {
Expand Down
1 change: 1 addition & 0 deletions dev-ada/gtkada/gtkada-22.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ REQUIRED_USE="${ADA_REQUIRED_USE}"
PATCHES=(
"${FILESDIR}"/${PN}-2017-r1-gentoo.patch
"${FILESDIR}"/${PN}-2019-gentoo.patch
"${FILESDIR}"/${PN}-2021-uninstall.patch
)

src_prepare() {
Expand Down

0 comments on commit f77708f

Please sign in to comment.