summaryrefslogtreecommitdiffstats
path: root/graphics/xpdf/files/patch-ab
blob: a993fa77a9c9c03825bb437986eb9e25077377f1 (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
*** Makefile.config.orig	Fri Nov 29 21:19:49 1996
--- Makefile.config	Fri Nov 29 21:23:24 1996
***************
*** 94,100 ****
  #CFLAGS2 = -O2 -Wall
  
  # If you're using g++ 2.7.x, you'll want to use -Wno-unused:
! CFLAGS2 = -O2 -Wall -Wno-unused
  
  # For Linux/FreeBSD/NetBSD/BSDI systems using XFree86:
  #CFLAGS2 = -O2 -Wall -I/usr/X11R6/include -Wno-unused
--- 94,100 ----
  #CFLAGS2 = -O2 -Wall
  
  # If you're using g++ 2.7.x, you'll want to use -Wno-unused:
! CFLAGS2 = -O2 -Wall -Wno-unused -I${X11BASE}/include
  
  # For Linux/FreeBSD/NetBSD/BSDI systems using XFree86:
  #CFLAGS2 = -O2 -Wall -I/usr/X11R6/include -Wno-unused
***************
*** 127,139 ****
  #------------------------------------------------------------------------
  
  # 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
--- 127,139 ----
  #------------------------------------------------------------------------
  
  # 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
OpenPOWER on IntegriCloud