diff options
Diffstat (limited to 'fonts/mozilla-fonts/patches/patch-aa')
-rw-r--r-- | fonts/mozilla-fonts/patches/patch-aa | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/fonts/mozilla-fonts/patches/patch-aa b/fonts/mozilla-fonts/patches/patch-aa new file mode 100644 index 00000000000..d362eb74975 --- /dev/null +++ b/fonts/mozilla-fonts/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/09 13:17:24 wiz Exp $ + +--- Makefile.orig Sun Sep 24 10:57:57 2000 ++++ Makefile +@@ -1,8 +1,8 @@ + # Makefile for mozilla-fonts + +-DESTDIR = /usr/local/lib/X11/fonts/Mozilla ++DESTDIR = $(PREFIX)/lib/X11/fonts/Mozilla + +-INSTALL = install ++INSTALL = install -c -o root -g wheel + + # -------- No user-serviceable parts below -------- + +@@ -111,10 +111,13 @@ + bdftopcf $< -o $@ + + install: $(PCFFILES) +- mkdir -p $(DESTDIR) ++ $(INSTALL) -d $(DESTDIR) + @for font in $(PCFFILES) ; do \ + echo " $(INSTALL) -m 644 $$font $(DESTDIR)/$$font" ; \ + $(INSTALL) -m 644 $$font $(DESTDIR)/$$font || exit 1 ; \ ++ rm -f $(DESTDIR)/$$font.* ; \ ++ echo " Compressing $(DESTDIR)/$$font" ; \ ++ gzip $(DESTDIR)/$$font ; \ + done + $(INSTALL) -m 644 fonts.alias $(DESTDIR)/fonts.alias + cd $(DESTDIR) && mkfontdir |