diff options
author | lofi <lofi@FreeBSD.org> | 2007-03-30 01:51:04 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-03-30 01:51:04 +0800 |
commit | 899ba2d93c191bce9ee6af0079598684df55c754 (patch) | |
tree | 0d9c84ab5ab2a3ed3dd9891fe208942c9f8cdf36 /print | |
parent | 2c7bf357908ff4221e8187e5741c16d496ce2e14 (diff) | |
download | freebsd-ports-gnome-899ba2d93c191bce9ee6af0079598684df55c754.tar.gz freebsd-ports-gnome-899ba2d93c191bce9ee6af0079598684df55c754.tar.zst freebsd-ports-gnome-899ba2d93c191bce9ee6af0079598684df55c754.zip |
Clean up symlinks on deinstallation and work around hitting maxargs
during installation.
PR: ports/110974, ports/110981
Approved by: maintainer
Diffstat (limited to 'print')
-rw-r--r-- | print/foomatic-db/files/patch-Makefile.in | 13 | ||||
-rw-r--r-- | print/foomatic-db/pkg-plist | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/print/foomatic-db/files/patch-Makefile.in b/print/foomatic-db/files/patch-Makefile.in new file mode 100644 index 000000000000..fefa5ce19b15 --- /dev/null +++ b/print/foomatic-db/files/patch-Makefile.in @@ -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; \ diff --git a/print/foomatic-db/pkg-plist b/print/foomatic-db/pkg-plist index c9b5a7bde293..1ab4a45469e6 100644 --- a/print/foomatic-db/pkg-plist +++ b/print/foomatic-db/pkg-plist @@ -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 |