1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/xgfe/files/patch-aa
Tim Vanderhoek adaa0335e0 Update to 1.3.
PR:		ports/6265
Submitted by:	Matthew Hunt
1998-04-12 01:06:00 +00:00

43 lines
1008 B
Plaintext

--- Makefile.freebsd-gcc.orig Sat Mar 21 21:04:38 1998
+++ Makefile.freebsd-gcc Fri Apr 10 13:28:16 1998
@@ -7,12 +7,13 @@
####### Compiler, tools and options
-CC = gcc
-CFLAGS = -Wall -W -O2 -fno-strength-reduce
-INCPATH = -I$(QTDIR)/include
-LINK = gcc
+#CC = gcc
+#CFLAGS = -Wall -W -O2 -fno-strength-reduce
+QTDIR = $(X11BASE)
+INCPATH = -I$(X11BASE)/include/X11/qt
+LINK = $(CXX)
LFLAGS =
-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
+LIBS = -L$(QTDIR)/lib -lqt -L$(X11BASE)/lib -lX11
MOC = moc
####### Files
@@ -161,16 +162,16 @@
.SUFFIXES: .cpp .cxx .cc .C .c
.cpp.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
+ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
.cxx.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
+ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
.cc.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
+ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
.C.o:
- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
+ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<