1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/graphics/xpdf/files/patch-ab
Satoshi Asami 2b163d2980 Make this compile again without /usr/include/X11 -> /usr/X11R6/include/X11
link.

Broken-and-not-fixed-despite-error-report by:	torstenb ;)
1996-12-07 04:52:16 +00:00

49 lines
1.5 KiB
Plaintext

*** 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