summaryrefslogtreecommitdiff
path: root/graphics/xpdf/files/patch-ab
blob: af6e93e9663fb9b2fe2c4e30faae88446615fde0 (plain) (blame)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
*** Makefile.config.orig	Fri May 30 03:29:08 1997
--- Makefile.config	Fri May 30 03:31:38 1997
***************
*** 44,50 ****
  #------------------------------------------------------------------------
  
  # Binaries and man pages will be installed here:
! PREFIX = /usr/local
  
  # SCO puts stuff here:
  #PREFIX = /u
--- 44,50 ----
  #------------------------------------------------------------------------
  
  # Binaries and man pages will be installed here:
! PREFIX ?= /usr/X11R6
  
  # SCO puts stuff here:
  #PREFIX = /u
*************** EXE =
*** 149,155 ****
  #CFLAGS2 = -O2 -Wall -DNO_XPM
  
  # If you're using g++ 2.7.x, you'll want to use -Wno-unused:
! CFLAGS2 = -O2 -Wall -Wno-unused -DNO_XPM
  
  # For Linux/FreeBSD/NetBSD/BSDI systems using XFree86:
  #CFLAGS2 = -O2 -Wall -I/usr/X11R6/include -Wno-unused
--- 149,155 ----
  #CFLAGS2 = -O2 -Wall -DNO_XPM
  
  # If you're using g++ 2.7.x, you'll want to use -Wno-unused:
! CFLAGS2 = -O2 -m486 -pipe -Wall -Wno-unused -I${X11BASE}/include
  
  # For Linux/FreeBSD/NetBSD/BSDI systems using XFree86:
  #CFLAGS2 = -O2 -Wall -I/usr/X11R6/include -Wno-unused
*************** CXXFLAGS2 = $(CFLAGS2)
*** 197,209 ****
  #------------------------------------------------------------------------
  
  # For most systems, just grab the X library:
! XLIBS = -lX11
  
  # For Linux/FreeBSD/NetBSD/BSDI systems using XFree86:
  #XLIBS = -L/usr/X11R6/lib -lX11
  
  # For official FreeBSD port (using the FreeBSD makefiles):
! #XLIBS = -L$(X11BASE)/lib -lX11
  
  # Some BSDI systems may need -lipc (?):
  #XLIBS = -L/usr/X11R6/lib -lX11 -lipc
--- 197,209 ----
  #------------------------------------------------------------------------
  
  # For most systems, just grab the X library:
! #XLIBS = -lX11
  
  # For Linux/FreeBSD/NetBSD/BSDI systems using XFree86:
  #XLIBS = -L/usr/X11R6/lib -lX11
  
  # For official FreeBSD port (using the FreeBSD makefiles):
! XLIBS = -L$(X11BASE)/lib -lX11
  
  # Some BSDI systems may need -lipc (?):
  #XLIBS = -L/usr/X11R6/lib -lX11 -lipc
*************** XLIBS = -lX11
*** 242,251 ****
  #------------------------------------------------------------------------
  
  # This is needed for the color icon:
! #XPMLIB = -lXpm
  
  # Use this if you don't have libXpm (and also define NO_XPM in CFLAGS2):
! XPMLIB =
  
  #------------------------------------------------------------------------
  # C++ compilation rule.
--- 242,251 ----
  #------------------------------------------------------------------------
  
  # This is needed for the color icon:
! XPMLIB = -lXpm
  
  # Use this if you don't have libXpm (and also define NO_XPM in CFLAGS2):
! #XPMLIB =
  
  #------------------------------------------------------------------------
  # C++ compilation rule.