summaryrefslogtreecommitdiff
path: root/fonts/otf2bdf/patches
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-08-14 01:47:29 +0000
committerbjs <bjs@pkgsrc.org>2008-08-14 01:47:29 +0000
commitf6a44f7fbb9718846199e1b93f2313bb938fecbe (patch)
treec47e3cbbc05525db54da0ef982ebeb7122872dd8 /fonts/otf2bdf/patches
parent1848d02177ed7777d3d156c3d73f373690643648 (diff)
downloadpkgsrc-f6a44f7fbb9718846199e1b93f2313bb938fecbe.tar.gz
Add otf2bdf-3.1. Blurb:
This program converts OpenType fonts to BDF fonts using the FreeType 2 renderer. BDF fonts can be edited using the author's "gdbfed" editor, also found in the pkgsrc "fonts" category.
Diffstat (limited to 'fonts/otf2bdf/patches')
-rw-r--r--fonts/otf2bdf/patches/patch-aa39
1 files changed, 39 insertions, 0 deletions
diff --git a/fonts/otf2bdf/patches/patch-aa b/fonts/otf2bdf/patches/patch-aa
new file mode 100644
index 00000000000..1390f3f56ba
--- /dev/null
+++ b/fonts/otf2bdf/patches/patch-aa
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/08/14 01:47:29 bjs Exp $
+
+--- Makefile.in.orig 2008-05-21 18:18:18.000000000 -0400
++++ Makefile.in
+@@ -45,7 +45,8 @@ mandir = @mandir@
+ all: otf2bdf
+
+ otf2bdf: $(OBJS)
+- $(CC) $(STATIC) $(LDFLAGS) -o otf2bdf $(OBJS) $(LIBS)
++ $(LIBTOOL) --mode=link \
++ $(CC) $(LDFLAGS) -o otf2bdf $(OBJS:.o=.lo) $(LIBS)
+
+ clean:
+ $(RM) -f *.o *BAK *CKP *~ a.out core
+@@ -57,15 +58,18 @@ distclean: clean
+ $(RM) -f otf2bdf config.* Makefile
+
+ .c.o:
+- $(CC) $(CFLAGS) $(INCS) -c $< -o $@
++ $(LIBTOOL) --mode=compile --tag=CC \
++ $(CC) $(CFLAGS) $(INCS) -prefer-pic -c $<
+
+ install: otf2bdf
+- $(MKINSTALLDIRS) $(bindir) $(mandir)/man1
+- $(CP) otf2bdf $(bindir)/otf2bdf
+- $(CP) otf2bdf.man $(mandir)/man1/otf2bdf.1
++ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)
++ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
++ $(LIBTOOL) --mode=install \
++ $(BSD_INSTALL_PROGRAM) otf2bdf $(DESTDIR)$(bindir)/otf2bdf
++ $(BSD_INSTALL_MAN) otf2bdf.man $(DESTDIR)$(mandir)/man1/otf2bdf.1
+
+ uninstall:
+- $(RM) -f $(bindir)/otf2bdf
+- $(RM) -f $(mandir)/man1/otf2bdf.1
++ $(RM) -f $(DESTDIR)$(bindir)/otf2bdf
++ $(RM) -f $(DESTDIR)$(mandir)/man1/otf2bdf.1
+
+ # end of Makefile