1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Properly find Motif includes and libs.

Problem noticed by:	BitS <bits@oldwarez.com>
This commit is contained in:
David E. O'Brien 1998-09-13 20:48:28 +00:00
parent 62728f8f6f
commit 6281a0c07b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13099

22
cad/mars/files/patch-08 Normal file
View File

@ -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