summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAndreas Schulz <ats@FreeBSD.org>1995-03-30 17:03:48 +0000
committerAndreas Schulz <ats@FreeBSD.org>1995-03-30 17:03:48 +0000
commit98809741d2bcb66f663d38a4bf7acfb35ea8f28f (patch)
treeabe5320a0d626e741a865df25b6c81463e8823ec /lang
parentUpdate (diff)
Add a -L/usr/X11R6/lib in all the places wheres -lX11 is used. I have
not found a quick way to do that with a environment variable in string constant. So this ports works in the moment only with XFree3.x (X11R6) and not with XFree2.x (X11R5 <-> X386).
Notes
Notes: svn path=/head/; revision=1250
Diffstat (limited to 'lang')
-rw-r--r--lang/schemetoc/files/main.c4
-rw-r--r--lang/schemetoc/files/makefile-head2
2 files changed, 3 insertions, 3 deletions
diff --git a/lang/schemetoc/files/main.c b/lang/schemetoc/files/main.c
index 0cd2a9f4567e..3c8261529cda 100644
--- a/lang/schemetoc/files/main.c
+++ b/lang/schemetoc/files/main.c
@@ -36,13 +36,13 @@ DEFCSTRING( t2610, "SC-TO-C.o" );
DEFSTATICTSCP( c2455 );
DEFCSTRING( t2611, "SC-TO-C.c" );
DEFSTATICTSCP( c2454 );
-DEFCSTRING( t2612, "-lX11" );
+DEFCSTRING( t2612, "-L/usr/X11R6/lib -lX11" );
DEFSTATICTSCP( c2450 );
DEFCSTRING( t2613, "-lm" );
DEFSTATICTSCP( c2447 );
DEFCSTRING( t2614, "-pg" );
DEFSTATICTSCP( c2444 );
-DEFCSTRING( t2615, "-lsc -lscxl -lX11" );
+DEFCSTRING( t2615, "-L/usr/X11R6/lib -lsc -lscxl -lX11" );
DEFSTATICTSCP( c2443 );
DEFCSTRING( t2616, "-lsc" );
DEFSTATICTSCP( c2440 );
diff --git a/lang/schemetoc/files/makefile-head b/lang/schemetoc/files/makefile-head
index 07a5f6e8ffe3..cc72d71f0e55 100644
--- a/lang/schemetoc/files/makefile-head
+++ b/lang/schemetoc/files/makefile-head
@@ -24,7 +24,7 @@ CPP = cpp
# X library
-XLIB = -lX11
+XLIB = -L/usr/X11R6/lib -lX11
XLIBCFLAGS =
PICFLAGS = -fpic -DPIC