diff options
author | obrien <obrien@FreeBSD.org> | 1998-09-13 20:48:28 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1998-09-13 20:48:28 +0000 |
commit | 42d7472f15f031344b8935b1635b2b49e1a09d99 (patch) | |
tree | e4bbe828aaefc188be49488a974c339706543310 | |
parent | ab0e4fcc0cf56c1ba59ba387a81fb9cb68c5b16c (diff) | |
download | FreeBSD-ports-42d7472f15f031344b8935b1635b2b49e1a09d99.zip FreeBSD-ports-42d7472f15f031344b8935b1635b2b49e1a09d99.tar.gz |
Properly find Motif includes and libs.
Problem noticed by: BitS <bits@oldwarez.com>
-rw-r--r-- | cad/mars/files/patch-08 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cad/mars/files/patch-08 b/cad/mars/files/patch-08 new file mode 100644 index 0000000..e30b943 --- /dev/null +++ b/cad/mars/files/patch-08 @@ -0,0 +1,22 @@ +--- Makefile.XMotif.orig Tue Mar 15 16:47:48 1994 ++++ Makefile.XMotif Sun Sep 13 13:46:54 1998 +@@ -5,8 +5,8 @@ + + # You need to supply directories for libraries and include files + # only if they are not in a standard directory. +-LIBDIRS = +-INCDIRS = ++LIBDIRS = -L$(X11BASE)/lib ++INCDIRS = -I$(X11BASE)/include + #LIBDIRS = -L/usr/imports/lib/X11R5 + #INCDIRS = -I/usr/imports/include/X11R5 -I/usr/imports/include + +@@ -45,7 +45,7 @@ + + mars: $(OBJS) libs + @ cd sim; make stat $(EXPORT) +- $(CC) $(GFLAG) -o mars $(OBJS) sim/stat.o $(MARSLIBS) -lm -lXm -lXt -lX11 ++ $(CC) $(GFLAG) -o mars $(OBJS) sim/stat.o $(MARSLIBS) -lm $(MOTIFLIB) -lXt -lX11 + + + install: depend mars |