diff options
author | acm <acm@FreeBSD.org> | 2007-08-17 05:08:29 +0800 |
---|---|---|
committer | acm <acm@FreeBSD.org> | 2007-08-17 05:08:29 +0800 |
commit | 9faae638ff6ebafa73513cd77de5bf6be104e677 (patch) | |
tree | 44d7de14662cc3a47cde6f9cb67b3e8f359e243f /devel | |
parent | 7e6cc1538ca493797fd55581a9c30a532eb7ed5e (diff) | |
download | freebsd-ports-graphics-9faae638ff6ebafa73513cd77de5bf6be104e677.tar.gz freebsd-ports-graphics-9faae638ff6ebafa73513cd77de5bf6be104e677.tar.zst freebsd-ports-graphics-9faae638ff6ebafa73513cd77de5bf6be104e677.zip |
- Update to 0.8
- Add GIMPACT option
- See ChangeLog at:
http://sourceforge.net/project/shownotes.php?release_id=480493&group_id=24884
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ode/Makefile | 19 | ||||
-rw-r--r-- | devel/ode/distinfo | 6 |
2 files changed, 15 insertions, 10 deletions
diff --git a/devel/ode/Makefile b/devel/ode/Makefile index 7a32b87b64a..3b33bfd93b3 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 b38fe51650f..baa0b1be250 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 |