From a6b1f53deedd0c7ff7b703251ea3d92e40aa5b47 Mon Sep 17 00:00:00 2001 From: jtb Date: Mon, 26 Mar 2001 20:53:47 +0000 Subject: New qcad package: QCad is a simple 2D CAD System. With QCad you can easily construct and modify drawings with ISO-texts, dimensions, hatches and many other features and save them as DXF-files. These DXF-files are the interface to many CAD-systems such as AutoCAD and many others. --- cad/qcad/patches/patch-aa | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 cad/qcad/patches/patch-aa (limited to 'cad/qcad/patches/patch-aa') diff --git a/cad/qcad/patches/patch-aa b/cad/qcad/patches/patch-aa new file mode 100644 index 00000000000..e9d0e329788 --- /dev/null +++ b/cad/qcad/patches/patch-aa @@ -0,0 +1,51 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/26 20:53:53 jtb Exp $ + +--- Makefile.orig Sun Mar 25 11:17:10 2001 ++++ Makefile +@@ -7,13 +7,14 @@ + + ####### Compiler, tools and options + +-CC = g++ +-CFLAGS = -Wall -W -O2 -fno-strength-reduce ++#CC = g++ ++CXXFLAGS+= -fno-strength-reduce ++CFLAGS+= -fno-strength-reduce + INCPATH = -I$(QTDIR)/include +-LINK = g++ +-LFLAGS = -static +-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11 +-MOC = moc ++LINK = $(CXX) ++#LFLAGS = -static ++LIBS = -Wl,-R$(QTDIR)/lib -L$(QTDIR)/lib -lqt -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lGLU -lGL -lXmu -lXext -lX11 -lm -lSM -lICE -lXmu -Wl,-R${PNG_PREFIX}/lib -L${PNG_PREFIX}/lib -lpng -lz -Wl,-R${JPEG_PREFIX}/lib -L${JPEG_PREFIX}/lib -ljpeg ++MOC = ${QTDIR}/bin/moc + + ####### Files + +@@ -367,13 +368,13 @@ + .SUFFIXES: .cpp .cxx .cc .C .c + + .cpp.o: +- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + + .cxx.o: +- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + + .cc.o: +- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< ++ $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $< + + .C.o: + $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $< +@@ -386,7 +387,7 @@ + all: $(TARGET) + + $(TARGET): $(OBJECTS) $(OBJMOC) +- $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) ++ $(LINK) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) + + moc: $(SRCMOC) + -- cgit v1.2.3