aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-06-01 21:37:17 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-06-01 21:37:17 +0000
commit3011cad2d2eaec4637643678445f6315dffff2ee (patch)
tree29f48de783042a2b7fadd9e472cb9afaab18bec2 /cad
parent120cbe51d738e828f7542fe96e0e5c03e6f57944 (diff)
downloadports-3011cad2d2eaec4637643678445f6315dffff2ee.tar.gz
ports-3011cad2d2eaec4637643678445f6315dffff2ee.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/freecad/Makefile7
-rw-r--r--cad/freecad/files/patch-configure20
2 files changed, 23 insertions, 4 deletions
diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile
index e5de2d45b455..447ea0225d7b 100644
--- a/cad/freecad/Makefile
+++ b/cad/freecad/Makefile
@@ -7,6 +7,7 @@
PORTNAME= FreeCAD
DISTVERSION= 0.6.472
+PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= free-cad
@@ -14,12 +15,12 @@ MASTER_SITE_SUBDIR= free-cad
MAINTAINER= thierry@FreeBSD.org
COMMENT= A general purpose 3D CAD modeller
-BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \
- ${LOCALBASE}/lib/libWm4Foundation.a:${PORTSDIR}/graphics/wildmagic
+BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS= gts.5:${PORTSDIR}/graphics/gts \
SoQt.24:${PORTSDIR}/x11-toolkits/soqt \
TKernel.0:${PORTSDIR}/cad/opencascade \
- xerces-c.27:${PORTSDIR}/textproc/xerces-c2
+ xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
+ Wm4Foundation.0:${PORTSDIR}/graphics/wildmagic
USE_PYTHON= yes
USE_QT_VER= 3
diff --git a/cad/freecad/files/patch-configure b/cad/freecad/files/patch-configure
index d532ced5d64f..e73d5aede512 100644
--- a/cad/freecad/files/patch-configure
+++ b/cad/freecad/files/patch-configure
@@ -1,5 +1,5 @@
--- configure.orig Mon Feb 26 14:00:53 2007
-+++ configure Sat Apr 21 23:40:36 2007
++++ configure Thu May 31 23:43:44 2007
@@ -21008,7 +21008,7 @@
fc_py_ac_save_libs=$LIBS
CPPFLAGS="$CPPFLAGS -I$fc_py_incs"
@@ -45,3 +45,21 @@
fc_cv_lib_occ_ver_6=no
if test x"$fc_cv_lib_occ_avail" = xyes; then
if test "${ac_cv_header_Standard_hxx+set}" = set; then
+@@ -24705,7 +24705,7 @@
+ fc_wm3_ac_save_libs=$LIBS
+ CPPFLAGS="$CPPFLAGS -I$fc_wm3_incs"
+ LDFLAGS="$LDFLAGS -L$fc_wm3_libs"
+-LIBS="-l$fc_wm3_lib"
++LIBS="-l$fc_wm3_lib -lcompat"
+
+ fc_cv_lib_wm3_avail=no
+ if test "${ac_cv_header_Wm3Math_h+set}" = set; then
+@@ -24901,7 +24901,7 @@
+
+ WM3_LDFLAGS=-L$fc_wm3_libs
+
+- WM3_LIBS=-l$fc_wm3_lib
++ WM3_LIBS="-l$fc_wm3_lib -lcompat"
+
+ WM3_VERSION=$fc_wm3_ver
+