aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1998-09-14 04:48:28 +0800
committerobrien <obrien@FreeBSD.org>1998-09-14 04:48:28 +0800
commit42d7472f15f031344b8935b1635b2b49e1a09d99 (patch)
treee4bbe828aaefc188be49488a974c339706543310 /cad
parentab0e4fcc0cf56c1ba59ba387a81fb9cb68c5b16c (diff)
downloadfreebsd-ports-graphics-42d7472f15f031344b8935b1635b2b49e1a09d99.tar.gz
freebsd-ports-graphics-42d7472f15f031344b8935b1635b2b49e1a09d99.tar.zst
freebsd-ports-graphics-42d7472f15f031344b8935b1635b2b49e1a09d99.zip
Properly find Motif includes and libs.
Problem noticed by: BitS <bits@oldwarez.com>
Diffstat (limited to 'cad')
-rw-r--r--cad/mars/files/patch-0822
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 00000000000..e30b943aba7
--- /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