aboutsummaryrefslogtreecommitdiff
path: root/devel/ode
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-08-16 21:08:29 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2007-08-16 21:08:29 +0000
commit7b306a8807f13e4108c77a1c43ab23796d5b5f5c (patch)
tree1f39d71b110085c577f21c6a999bb9aa8bed8f44 /devel/ode
parenta94c51f2c13b9bade0eb9379060dd7dc11554c2e (diff)
downloadports-7b306a8807f13e4108c77a1c43ab23796d5b5f5c.tar.gz
ports-7b306a8807f13e4108c77a1c43ab23796d5b5f5c.zip
- Update to 0.8
Notes
Notes: svn path=/head/; revision=197820
Diffstat (limited to 'devel/ode')
-rw-r--r--devel/ode/Makefile19
-rw-r--r--devel/ode/distinfo6
2 files changed, 15 insertions, 10 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index 7a32b87b64ad..3b33bfd93b3a 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ode
-PORTVERSION= 0.7
-PORTREVISION= 1
+PORTVERSION= 0.8
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@@ -30,16 +29,22 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LIBS="-L${X11BASE}/lib"
-OPTIONS= OPCODE "Enable code required by TriList (trimesh) class" on \
+OPTIONS= GIMPACT "Enable gimpact instead of opcode support" off \
GYROSCOPIC "Configure ODE to work with gyroscopic term" on \
- DOUBLE "Enable double precision" off
+ DOUBLE "Enable double precision (BROKEN with GIMPACT)" off
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
-.if defined(WITHOUT_OPCODE)
-CONFIGURE_ARGS+= --disable-opcode
+.if defined(WITH_GIMPACT) && defined(WITH_DOUBLE)
+IGNORE= currently double precision is not supported by gimpact
+.endif
+
+.if !defined(WITH_GIMPACT)
+CONFIGURE_ARGS+= --with-trimesh=opcode
+.else
+CONFIGURE_ARGS+= --with-trimesh=gimpact
.endif
.if defined(WITHOUT_GYROSCOPIC)
@@ -60,7 +65,7 @@ post-patch:
-e '/^DEFAULT_INCLUDES/ s|$$| -I$$(top_builddir)/include|' \
-e '/CFLAGS/ s|-O[12]||'
@${FIND} ${WRKSRC} -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
- -i "" -e 's|<malloc.h>|<stdlib.h>|g'
+ -i "" -e 's|malloc.h|stdlib.h|g'
post-install:
${SED} -e '/PACKAGE/ s|^|//|; /VERSION/ s|^|//|' ${WRKSRC}/include/ode/config.h \
diff --git a/devel/ode/distinfo b/devel/ode/distinfo
index b38fe51650f9..baa0b1be250b 100644
--- a/devel/ode/distinfo
+++ b/devel/ode/distinfo
@@ -1,3 +1,3 @@
-MD5 (ode-src-0.7.zip) = b6727fef2cbb9ca812438bb774c9d6ec
-SHA256 (ode-src-0.7.zip) = e346097fc41174038a4373d4e6295b04c7dcfaf10489f4c385bd2c0878fbc878
-SIZE (ode-src-0.7.zip) = 1903503
+MD5 (ode-src-0.8.zip) = fb7462ba0af2fbc230cb1b3f79e0acbb
+SHA256 (ode-src-0.8.zip) = 07d751fc92ca4c739d4e76e2fc01cda19374d126bd65a789529dd727d1ec3edb
+SIZE (ode-src-0.8.zip) = 2005445