summaryrefslogtreecommitdiff
path: root/graphics/tiff/patches/patch-ab
blob: 5943adcb23ccd31ae004e1d769c71649d81a5e02 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
*** tools/Makefile.sun.orig	Fri Sep 30 03:01:48 1994
--- tools/Makefile.sun	Wed Oct  4 04:45:40 1995
***************
*** 31,37 ****
  # simply null this out and you'll get whatever is in your
  # libc (or similar).
  #
! GETOPT=	getopt.o
  #
  # Library-wide configuration defines:
  # Note that if you change the library-wide configuration, you'll
--- 31,37 ----
  # simply null this out and you'll get whatever is in your
  # libc (or similar).
  #
! # GETOPT=	getopt.o
  #
  # Library-wide configuration defines:
  # Note that if you change the library-wide configuration, you'll
***************
*** 40,49 ****
  CONF_LIBRARY=\
  	${NULL}
  COPTS=	
! CFLAGS=	-g ${COPTS} ${IPATH}
  #
  LIBTIFF=../libtiff/libtiff.a
! LIBS=	${LIBTIFF}
  MACHALL=ras2tiff
  OBJS=	\
  	fax2tiff.o \
--- 40,49 ----
  CONF_LIBRARY=\
  	${NULL}
  COPTS=	
! CFLAGS+= ${COPTS} ${IPATH} -D_HAVE_PARAM_H
  #
  LIBTIFF=../libtiff/libtiff.a
! LIBS=	-L../libtiff -ltiff
  MACHALL=ras2tiff
  OBJS=	\
  	fax2tiff.o \
***************
*** 69,74 ****
--- 69,75 ----
  	pal2rgb \
  	ppm2tiff \
  	rgb2ycbcr \
+ 	thumbnail \
  	tiff2bw \
  	tiff2ps \
  	tiffcmp \
***************
*** 127,132 ****
--- 128,134 ----
  	${CC} -o thumbnail ${CFLAGS} thumbnail.c ${LIBS} -lm
  
  install: all
+ 	install -o bin -g bin -c -s ${ALL} ${PREFIX}/bin
  
  clean:
  	rm -f ${ALL} ${OBJS} core a.out ycbcr