diff options
author | thierry <thierry@FreeBSD.org> | 2007-06-02 05:37:17 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2007-06-02 05:37:17 +0800 |
commit | 6e1b2b792908bd2e1099651bf8ad3c67abf96cd1 (patch) | |
tree | 90a354d6ba61581bd961ea51869a6da336a180d0 /cad | |
parent | 780411fc7164c2d161ec17a848738593119f2743 (diff) | |
download | freebsd-ports-gnome-6e1b2b792908bd2e1099651bf8ad3c67abf96cd1.tar.gz freebsd-ports-gnome-6e1b2b792908bd2e1099651bf8ad3c67abf96cd1.tar.zst freebsd-ports-gnome-6e1b2b792908bd2e1099651bf8ad3c67abf96cd1.zip |
Link with WildMagic's shared libraries to fix on 64 bits platforms.
Reported by: pointyhat via Kris
Diffstat (limited to 'cad')
-rw-r--r-- | cad/freecad/Makefile | 7 | ||||
-rw-r--r-- | cad/freecad/files/patch-configure | 20 |
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 + |