aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-02-11 11:08:21 +0800
committerasami <asami@FreeBSD.org>1996-02-11 11:08:21 +0800
commit78498072735603a11adcab3ff363edf98bdb0c55 (patch)
treed977812d73c51efc0d12646bb4c7065fed531b07 /graphics
parent0625f5562bd12036e03e96e3ba48579401daadf1 (diff)
downloadfreebsd-ports-gnome-78498072735603a11adcab3ff363edf98bdb0c55.tar.gz
freebsd-ports-gnome-78498072735603a11adcab3ff363edf98bdb0c55.tar.zst
freebsd-ports-gnome-78498072735603a11adcab3ff363edf98bdb0c55.zip
Our X libraries are in ${X11BASE}/lib, not /usr/X11/lib.
While I'm here, change -I/usr/X11R6/include to -I${X11BASE}/include.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xpdf/files/patch-ab11
1 files changed, 8 insertions, 3 deletions
diff --git a/graphics/xpdf/files/patch-ab b/graphics/xpdf/files/patch-ab
index 4049da778837..e13e77f9b7c4 100644
--- a/graphics/xpdf/files/patch-ab
+++ b/graphics/xpdf/files/patch-ab
@@ -1,20 +1,25 @@
--- Makefile.config.orig Sat Jan 13 11:11:45 1996
+++ Makefile.config Mon Feb 5 17:44:39 1996
-@@ -15,14 +15,15 @@
+@@ -15,18 +15,19 @@
# Extra flags for C compiler
# This can include things like -I and -L if your include files or
# libraries are in non-standard places.
+# For FreeBSD, need -DHAVE_PARAM_H
#CFLAGS2 =
-CFLAGS2 = -Wno-unused
-+CFLAGS2 = -Wno-unused -DHAVE_PARAM_H -I/usr/X11R6/include
++CFLAGS2 = -Wno-unused -DHAVE_PARAM_H -I${X11BASE}/include
# Extra flags for C++ compiler
# This can include things like -I and -L if your include files or
# libraries are in non-standard places.
#CXXFLAGS2 =
-CXXFLAGS2 = -Wno-unused
-+CXXFLAGS2 = -Wno-unused -I/usr/X11R6/include
++CXXFLAGS2 = -Wno-unused -I${X11BASE}/include
# Any flags necessary to link in libX11.
#XLIBS = -lX11
+-XLIBS = -L/usr/X11/lib -lX11
++XLIBS = -L${X11BASE}/lib -lX11
+ #XLIBS = -lX11-mit
+
+ # Different versions of make have different C++ rules.