Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / fonts / otf2bdf / patches / patch-aa
blob5d066e33150fe1e60a94aac8e7ce297fee6035ee
1 $NetBSD$
3 --- Makefile.in.orig    2008-05-21 18:18:18.000000000 -0400
4 +++ Makefile.in
5 @@ -45,7 +45,8 @@ mandir = @mandir@
6  all: otf2bdf
7  
8  otf2bdf: $(OBJS)
9 -       $(CC) $(STATIC) $(LDFLAGS) -o otf2bdf $(OBJS) $(LIBS)
10 +       $(LIBTOOL) --mode=link \
11 +               $(CC) $(LDFLAGS) -o otf2bdf $(OBJS:.o=.lo) $(LIBS)
13  clean:
14         $(RM) -f *.o *BAK *CKP *~ a.out core
15 @@ -57,15 +58,18 @@ distclean: clean
16         $(RM) -f otf2bdf config.* Makefile
18  .c.o:
19 -       $(CC) $(CFLAGS) $(INCS) -c $< -o $@
20 +       $(LIBTOOL) --mode=compile --tag=CC \
21 +               $(CC) $(CFLAGS) $(INCS) -prefer-pic -c $< 
23  install: otf2bdf
24 -       $(MKINSTALLDIRS) $(bindir) $(mandir)/man1
25 -       $(CP) otf2bdf $(bindir)/otf2bdf
26 -       $(CP) otf2bdf.man $(mandir)/man1/otf2bdf.1
27 +       $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir) 
28 +       $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
29 +       $(LIBTOOL) --mode=install \
30 +               $(BSD_INSTALL_PROGRAM) otf2bdf $(DESTDIR)$(bindir)/otf2bdf
31 +       $(BSD_INSTALL_MAN) otf2bdf.man $(DESTDIR)$(mandir)/man1/otf2bdf.1
33  uninstall:
34 -       $(RM) -f $(bindir)/otf2bdf
35 -       $(RM) -f $(mandir)/man1/otf2bdf.1
36 +       $(RM) -f $(DESTDIR)$(bindir)/otf2bdf
37 +       $(RM) -f $(DESTDIR)$(mandir)/man1/otf2bdf.1
39  # end of Makefile