summaryrefslogtreecommitdiff
path: root/graphics/freetype-lib/patches/patch-ab
blob: 5d3fe2b4923172e7167640994ff7654ae8f3419b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ab,v 1.3 2008/03/14 17:22:49 jlam Exp $

--- test/arch/unix/Makefile.in.orig	2001-12-25 15:13:19.000000000 -0500
+++ test/arch/unix/Makefile.in
@@ -75,11 +75,12 @@ EFENCE =
 
 # variables used to compile either with libtool or not
 #
-PROCESS = $(LIBTOOL) --mode=link  $(CC) $(FT_CFLAGS)
+PROCESS = $(LIBTOOL) --mode=link  $(CC) $(FT_CFLAGS) $(LDFLAGS) -lttf -lintl
 #PROCESS = $(CC) $(FT_CFLAGS)
 
-LIBTTF = $(top_builddir)/lib/libttf.la
+#LIBTTF = $(top_builddir)/lib/libttf.la
 #LIBTTF =$(top_builddir)/lib/libttf.a
+LIBTTF =
 
 .c.o:
 	$(CC) -c $(FT_CFLAGS) $<
@@ -137,9 +138,9 @@ ftstrtto: ftstrtto.o $(DISPOBJS) arabic.
 
 
 install: $(ALL_PROGRAMS)
-	$(MKINSTALLDIRS) $(bindir)
+	$(MKINSTALLDIRS) $(DESTDIR)$(bindir)
 	for P in $(ALL_PROGRAMS) ; do \
-          $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(bindir)/$$P ; \
+          $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$P $(DESTDIR)$(bindir)/$$P ; \
         done
 
 uninstall: