1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/graphics/xpdf/files/patch-ab
Satoshi Asami e461c27ad6 Our X libraries are in ${X11BASE}/lib, not /usr/X11/lib.
While I'm here, change -I/usr/X11R6/include to -I${X11BASE}/include.
1996-02-11 03:08:21 +00:00

26 lines
812 B
Plaintext

--- Makefile.config.orig Sat Jan 13 11:11:45 1996
+++ Makefile.config Mon Feb 5 17:44:39 1996
@@ -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${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${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.