diff options
author | ats <ats@FreeBSD.org> | 1995-03-31 01:03:48 +0800 |
---|---|---|
committer | ats <ats@FreeBSD.org> | 1995-03-31 01:03:48 +0800 |
commit | 6266f60f96e1629c66fd9544c0dd540594c9c9f3 (patch) | |
tree | 8636e98b4505d086457b09037e43e26011cee831 /lang/schemetoc | |
parent | dde2c12ea9b10dce5c998ba3bca25e148339e6ae (diff) | |
download | freebsd-ports-gnome-6266f60f96e1629c66fd9544c0dd540594c9c9f3.tar.gz freebsd-ports-gnome-6266f60f96e1629c66fd9544c0dd540594c9c9f3.tar.zst freebsd-ports-gnome-6266f60f96e1629c66fd9544c0dd540594c9c9f3.zip |
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).
Diffstat (limited to 'lang/schemetoc')
-rw-r--r-- | lang/schemetoc/files/main.c | 4 | ||||
-rw-r--r-- | lang/schemetoc/files/makefile-head | 2 |
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 |