1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

graphics/svgalib: prevent "make all" from deleting files

The Makefile provided with this software made "make install" imply
"make uninstall" as a pre-condition. This caused the installation of
files to the stage directory to be preceded by the removal of those
files from the base system.

This is unacceptable behavior for a port: no files outside of the
work directory and possibly $TMPDIR (i.e. /tmp) must be affected by
"make all" to build a port.

This issue did not affect building a package in poudriere, since
there were no installed files to delete, and the generated package
was correct. Therefore, the PORTREVISION has not been bumped.

Reported by:	Andy Farkas <andyf@andyit.com.au>
This commit is contained in:
Stefan Eßer 2022-07-20 17:46:14 +02:00
parent 08ed596dd0
commit 6fd5ce4b2a

View File

@ -36,3 +36,12 @@
@echo "Installing keymap utilities in $(bindir):"
@echo "svgakeymap: Perl script that generates scancode conversion maps."
@cp utils/svgakeymap $(bindir)
@@ -261,7 +259,7 @@ installman:
installman:
(cd doc; $(MAKE) -f $(srcdir)/doc/Makefile srcdir="$(srcdir)" install )
-install: uninstall $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig \
+install: $(INSTALLAOUTLIB) installheaders $(INSTALLSHAREDLIB) installconfig \
$(INSTALLSTATICLIB) $(INSTALLUTILS) $(INSTALLMAN)
@echo
@echo