Clean up symlinks on deinstallation and work around hitting maxargs
during installation. PR: ports/110974, ports/110981 Approved by: maintainer
This commit is contained in:
parent
6b7d2df44d
commit
a55ac89083
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=188776
2 changed files with 15 additions and 1 deletions
13
print/foomatic-db/files/patch-Makefile.in
Normal file
13
print/foomatic-db/files/patch-Makefile.in
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- Makefile.in.orig Wed Mar 28 14:47:22 2007
|
||||
+++ Makefile.in Wed Mar 28 14:48:40 2007
|
||||
@@ -66,7 +66,9 @@
|
||||
install -d $(DESTDIR)$(LIBDIR)/db/source/opt
|
||||
install -d $(DESTDIR)$(LIBDIR)/db/source/PPD
|
||||
cp db/oldprinterids $(DESTDIR)$(LIBDIR)/db
|
||||
- cp db/source/printer/*.xml $(DESTDIR)$(LIBDIR)/db/source/printer
|
||||
+ ( for file in `find db/source/printer/ -name \*.xml`; do \
|
||||
+ cp $$file $(DESTDIR)$(LIBDIR)/db/source/printer; \
|
||||
+ done )
|
||||
( cd db/source/driver/; \
|
||||
for d in $(DRIVERXMLS); do \
|
||||
cp $$d $(DESTDIR)$(LIBDIR)/db/source/driver; \
|
|
@ -4335,4 +4335,5 @@ share/foomatic/db/source/printer/Xerox-WorkCentre_XK35c.xml
|
|||
@dirrm share/foomatic/db/source/PPD
|
||||
@dirrm share/foomatic/db/source
|
||||
@dirrm share/foomatic/db
|
||||
@dirrm share/foomatic
|
||||
@dirrmtry share/foomatic
|
||||
@unexec unlink %D/share/cups/model/foomatic-db-ppds > /dev/null 2>&1 || true
|
||||
|
|
Loading…
Reference in a new issue