summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches/patch-af
blob: 687c55f9575a7a3da7d960c7741b25eb602e73c7 (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
$NetBSD: patch-af,v 1.7 2004/01/03 18:33:24 reed Exp $

--- tools/Makefile.in.orig	Fri Nov 21 19:35:56 2003
+++ tools/Makefile.in
@@ -48,10 +48,10 @@ OPTIMIZER=@OPTIMIZER@
 IPATH	= -I. -I${SRCDIR} -I${LIBDIR}
 CFLAGS	= @ENVOPTS@ ${COPTS} ${OPTIMIZER} ${IPATH}
 #
-TIFFLIB	= ${DEPTH}/libtiff/libtiff.@DSOSUF@
+TIFFLIB	= ${DEPTH}/libtiff/libtiff.la
 LIBJPEG	= @LIBJPEG@
 LIBGZ	= @LIBGZ@
-LIBTIFF	= @TIFFLIBREF@
+LIBTIFF	= ${TIFFLIB}
 LIBPORT	= @LIBPORT@
 MACHLIBS= @MACHDEPLIBS@
 LIBS	= ${LIBTIFF} ${LIBJPEG} ${LIBGZ} ${LIBPORT} ${MACHLIBS}
@@ -114,9 +114,8 @@ all:	${TARGETS}
 	fi
 install: all
 	${INSTALL} -idb tiff.sw.tools -m 755 				\
-		-dir ${DESTDIR}@DIR_BIN@
-	${INSTALL} -idb tiff.sw.tools -m 755 				\
-		-F ${DESTDIR}@DIR_BIN@ -O ${TARGETS}
+		-dir @DIR_BIN@
+	${LIBTOOL} ${BSD_INSTALL_PROGRAM} ${TARGETS} @DIR_BIN@
 	@if [ "@LIBIMAGE@" = yes ]; then 				\
 	    ${INSTALL} -idb tiff.sw.tools -m 755 			\
 		-F ${DESTDIR}@DIR_BIN@ -O sgi2tiff; 			\