openbsd-ports/print/foomatic-db/patches/patch-Makefile_in
2012-01-12 16:47:06 +00:00

17 lines
779 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.3 2012/01/12 16:47:06 ajacoutot Exp $
--- Makefile.in.orig Thu Jan 12 01:40:32 2012
+++ Makefile.in Thu Jan 12 17:35:06 2012
@@ -74,8 +74,10 @@ install-db:
cp $$d $(DESTDIR)$(LIBDIR)/db/source/driver; \
done )
cp db/source/opt/*.xml $(DESTDIR)$(LIBDIR)/db/source/opt
- ( cd db/source && tar cf - --exclude=.svn PPD ) | \
- ( cd $(DESTDIR)$(LIBDIR)/db/source && tar xf -)
+ # ( cd db/source && tar cf - --exclude=.svn PPD ) | \
+ # ( cd $(DESTDIR)$(LIBDIR)/db/source && tar xf -)
+ ( find db/source/PPD \! -path \*'.svn'\* ) | \
+ ( pax -r -w -d $(DESTDIR)$(LIBDIR) )
if test $(GZIP) != GZIP_NOT_FOUND -a $(GZIP_PPDS) != no ; then \
GZIP='' find $(DESTDIR)$(LIBDIR)/db/source/PPD -name "*.ppd" -exec $(GZIP) "{}" \; ; \
fi