summaryrefslogtreecommitdiff
path: root/graphics/libwmf/patches/patch-ac
blob: 41c3a3cbd2f9a89154cdaa53d05e2bb793a58fd4 (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
32
33
34
35
36
$NetBSD: patch-ac,v 1.1 2000/08/05 02:36:38 jlam Exp $

--- xgd-1.7.3/Makefile.in.orig	Thu Dec 16 10:31:47 1999
+++ xgd-1.7.3/Makefile.in	Fri Aug  4 20:18:39 2000
@@ -45,7 +45,9 @@
 
 #Typical install locations for freetype, zlib, xpm and libpng header files.
 #If yours are somewhere else, change this. 
-INCLUDEDIRS=
+#Put -I. first so that old versions of the gd library elsewhere
+#on your system can't cause conflicts while building a new one.
+INCLUDEDIRS=-I.
 
 #Typical install locations for freetype, zlib, xpm and libpng libraries.
 #If yours are somewhere else, other than a standard location
@@ -80,18 +82,10 @@
 BIN_PROGRAMS=pngtogd pngtogd2 gdtopng gd2topng gd2copypal gdparttopng webpng
 TEST_PROGRAMS=gdtest gddemo gd2time gdtestttf
 
-all: libxgd.a $(PROGRAMS)
+all: libxgd.a
 
-install: libxgd.a $(BIN_PROGRAMS)
+install: libxgd.a
 	$(INSTALL) libxgd.a $(INSTALL_LIB)/libxgd.a
-	$(INSTALL) pngtogd $(INSTALL_BIN)/pngtogd
-	$(INSTALL) pngtogd2 $(INSTALL_BIN)/pngtogd2
-	$(INSTALL) gdtopng $(INSTALL_BIN)/gdtopng
-	$(INSTALL) gd2topng $(INSTALL_BIN)/gd2topng
-	$(INSTALL) gd2copypal $(INSTALL_BIN)/gd2copypal
-	$(INSTALL) gdparttopng $(INSTALL_BIN)/gdparttopng
-	$(INSTALL) webpng $(INSTALL_BIN)/webpng
-	$(INSTALL) bdftogd $(INSTALL_BIN)/bdftogd
 	$(INSTALL_DATA) gd.h $(INSTALL_INCLUDE)/gd.h
 	$(INSTALL_DATA) gdcache.h $(INSTALL_INCLUDE)/gdcache.h
 	$(INSTALL_DATA) gd_io.h $(INSTALL_INCLUDE)/gd_io.h