summaryrefslogtreecommitdiff
path: root/cad/leocad/files
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-03-03 00:40:21 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-03-03 00:40:21 +0000
commit0eedcf658bae66757158f61624c404a42630d710 (patch)
tree80cf3ee767423d1a6dd42a38b37900d86e64079c /cad/leocad/files
parentFix dependency of pth and fix jdk paths (diff)
Add leocad 0.73, a CAD program that uses bricks similar to those
found in many toys. PR: 35231 Submitted by: David Yeske <dyeske@yahoo.com>
Notes
Notes: svn path=/head/; revision=55432
Diffstat (limited to 'cad/leocad/files')
-rw-r--r--cad/leocad/files/patch-Makefile13
-rw-r--r--cad/leocad/files/patch-config.mk32
2 files changed, 45 insertions, 0 deletions
diff --git a/cad/leocad/files/patch-Makefile b/cad/leocad/files/patch-Makefile
new file mode 100644
index 000000000000..3813b5e2b418
--- /dev/null
+++ b/cad/leocad/files/patch-Makefile
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- Makefile.orig Sun Jan 27 15:58:14 2002
++++ Makefile Sun Jan 27 15:58:41 2002
+@@ -38,7 +38,7 @@
+ static: bin/leocad.static
+
+ bin/leocad: $(OBJ) bin
+- $(CXX) -o $@ $(OBJ) $(LIBS)
++ $(CXX) -o $@ $(OBJ) $(LIBS) ${LDFLAGS}
+
+ bin/leocad.static: $(OBJ) bin
+ $(CXX) -static -o $@ $(OBJ) $(LIBS)
diff --git a/cad/leocad/files/patch-config.mk b/cad/leocad/files/patch-config.mk
new file mode 100644
index 000000000000..47f21becf431
--- /dev/null
+++ b/cad/leocad/files/patch-config.mk
@@ -0,0 +1,32 @@
+$FreeBSD$
+
+--- config.mk.orig Mon Sep 18 21:06:37 2000
++++ config.mk Sat Mar 2 19:21:24 2002
+@@ -4,11 +4,11 @@
+
+ default: all
+
+-CC := gcc
+-CXX := g++
++CC ?= gcc
++CXX ?= g++
+
+ # (Add a -g for debugging)
+-CPPFLAGS += -O2 -Wall
++CPPFLAGS += -Wall
+
+ # Add compile options, such as -I option to include jpeglib's headers
+ # CPPFLAGS += -I/home/fred/jpeglib
+@@ -33,9 +33,10 @@
+
+ OS := -DLC_LINUX
+ OSDIR := linux
+-PREFIX := /usr/local
++PREFIX := /usr/X11R6
+ GTK_CONFIG := gtk12-config
+-CPPFLAGS += -L/usr/local/lib
++CPPFLAGS += ${CFLAGS} -L%%LOCALBASE%%/lib -I%%LOCALBASE%%/include %%PTHREAD_CFLAGS%%
++LDFLAGS += -L%%LOCALBASE%%/lib %%PTHREAD_LIBS%%
+
+ endif
+