aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
Diffstat (limited to 'cad')
-rw-r--r--cad/leocad/Makefile9
-rw-r--r--cad/leocad/distinfo4
-rw-r--r--cad/leocad/files/patch-config.mk21
3 files changed, 15 insertions, 19 deletions
diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile
index 6373b741dadb..17afdf2168c5 100644
--- a/cad/leocad/Makefile
+++ b/cad/leocad/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: leocad
-# Date created: 27 Jan 2002
-# Whom: David Yeske <dyeske@gmail.com>
-#
+# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
-#
PORTNAME= leocad
-PORTVERSION= 0.77.0
-PORTREVISION= 1
+PORTVERSION= 0.79.0
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTFILES= ${LEOCAD_DISTNAME} ${LEOCAD_PIECES}
diff --git a/cad/leocad/distinfo b/cad/leocad/distinfo
index 26b82847dc8b..bd08c288c696 100644
--- a/cad/leocad/distinfo
+++ b/cad/leocad/distinfo
@@ -1,4 +1,4 @@
-SHA256 (leocad-0.77.0-src.tgz) = 17afed6174a04f429ba230b21ee0f03472ebb7645fb45d8715b97953fb7ba788
-SIZE (leocad-0.77.0-src.tgz) = 645424
+SHA256 (leocad-0.79.0-src.tgz) = 85f34dd560dec590ac5b0a5a7983359758fa58a729dbe3208a89c61f12440f24
+SIZE (leocad-0.79.0-src.tgz) = 624961
SHA256 (pieces-5823b.zip) = 4c833bd1d89730757d8b391e20ba20ab133cd242b6717e89cee8fdf1c26f9a23
SIZE (pieces-5823b.zip) = 44541797
diff --git a/cad/leocad/files/patch-config.mk b/cad/leocad/files/patch-config.mk
index 592d704b7afb..a680e0e61b47 100644
--- a/cad/leocad/files/patch-config.mk
+++ b/cad/leocad/files/patch-config.mk
@@ -1,18 +1,19 @@
---- config.mk.orig 2012-03-17 22:55:49.000000000 +0100
-+++ config.mk 2012-07-11 20:57:38.000000000 +0200
-@@ -6,11 +6,12 @@
+--- config.mk.orig 2012-12-14 12:16:05.000000000 -0500
++++ config.mk 2012-12-14 12:16:51.000000000 -0500
+@@ -6,12 +6,13 @@ ERROR_SETTING=2> /dev/null
default: all
--CC := gcc
--CXX := g++
-+CC ?= gcc
-+CXX ?= g++
+-CC := gcc
+-CXX := g++
++CC ?= cc
++CXX ?= c++
+ OSDIR := linux
# (Add a -g for debugging)
-CPPFLAGS += -O2 -Wall
+CPPFLAGS += -Wall -I%%LOCALBASE%%/include %%PTHREAD_CFLAGS%%
-+LDFLAGS += %%PTHREAD_LIBS%%
++LDFLAGS += %%PTHREAD_LIBS%%
+
+ ### FreeBSD configuration
- # Add compile options, such as -I option to include jpeglib's headers
- # CPPFLAGS += -I/home/fred/jpeglib