View | Details | Raw Unified | Return to bug 254898
Collapse All | Expand All

(-)devel/ode/Makefile (-11 / +10 lines)
Lines 13-40 COMMENT= Articulated rigid body dynamics library Link Here
13
LICENSE=	LGPL21 BSD3CLAUSE
13
LICENSE=	LGPL21 BSD3CLAUSE
14
LICENSE_COMB=	dual
14
LICENSE_COMB=	dual
15
15
16
USES=		gl tar:bzip2 libtool pathfix
16
USES=		tar:bzip2 libtool pathfix
17
USE_GL=		yes
18
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--enable-shared
18
CONFIGURE_ARGS=	--enable-shared
20
TEST_TARGET=	check
19
TEST_TARGET=	check
20
USE_CXXSTD=	c++03
21
21
22
OPTIONS_DEFINE=		GIMPACT DOUBLE OU
22
OPTIONS_DEFINE=		GIMPACT DOUBLE OU DEMOS
23
23
24
GIMPACT_DESC=		Enable gimpact instead of opcode support
24
GIMPACT_DESC=		Enable gimpact instead of opcode support
25
DOUBLE_DESC=		Enable double precision (BROKEN with GIMPACT)
25
DOUBLE_DESC=		Enable double precision (BROKEN with GIMPACT)
26
OU_DESC=		Enable Thread-local storage (Experimental)
26
OU_DESC=		Enable Thread-local storage (Experimental)
27
DEMOS_DESC=		Build demos (not installed)
27
28
29
GIMPACT_PREVENTS=	DOUBLE
28
GIMPACT_CONFIGURE_ON=	--with-trimesh=gimpact
30
GIMPACT_CONFIGURE_ON=	--with-trimesh=gimpact
29
GIMPACT_CONFIGURE_OFF=	--with-trimesh=opcode
31
GIMPACT_CONFIGURE_OFF=	--with-trimesh=opcode
30
DOUBLE_CONFIGURE_ENABLE=	double-precision
32
DOUBLE_CONFIGURE_ENABLE=double-precision
31
OU_CONFIGURE_ENABLE=		ou
33
OU_CONFIGURE_ENABLE=	ou
32
34
DEMOS_CONFIGURE_ENABLE=	demos
33
.include <bsd.port.options.mk>
35
DEMOS_USES=		gl localbase pkgconfig
34
36
DEMOS_USE=		GL=gl,glu
35
.if ${PORT_OPTIONS:MGIMPACT} && ${PORT_OPTIONS:MDOUBLE}
36
IGNORE=		currently double precision is not supported by gimpact
37
.endif
38
37
39
post-patch:
38
post-patch:
40
	@${REINPLACE_CMD} -e '/if test/ s|==|=|' -e 's|^\( *CFLAGS=\)|#\1|;' \
39
	@${REINPLACE_CMD} -e '/if test/ s|==|=|' -e 's|^\( *CFLAGS=\)|#\1|;' \
(-)devel/ode/files/patch-ode_demo_demo__jointPR.cpp (+11 lines)
Added Link Here
1
--- ode/demo/demo_jointPR.cpp.orig	2013-08-19 17:48:05 UTC
2
+++ ode/demo/demo_jointPR.cpp
3
@@ -329,7 +329,7 @@ int main (int argc, char **argv)
4
             {
5
                 int j = i+1;
6
                 if ( j+1 > argc      ||  // Check if we have enough arguments
7
-                        argv[j] == '\0' ||  // We should have a path here
8
+                        argv[j][0] == '\0' ||  // We should have a path here
9
                         argv[j][0] == '-' ) // We should have a path not a command line
10
                     Help(argv);
11
                 else
(-)devel/ode/files/patch-ode_demo_demo__jointPU.cpp (+11 lines)
Added Link Here
1
--- ode/demo/demo_jointPU.cpp.orig	2013-12-06 21:52:14 UTC
2
+++ ode/demo/demo_jointPU.cpp
3
@@ -579,7 +579,7 @@ int main (int argc, char **argv)
4
       if (0 == strcmp ("-t", argv[i]) || 0 == strcmp ("--texture-path", argv[i]) ) {
5
         int j = i+1;
6
         if ( j+1 > argc      ||  // Check if we have enough arguments
7
-             argv[j] == '\0' ||  // We should have a path here
8
+             argv[j][0] == '\0' ||  // We should have a path here
9
              argv[j][0] == '-' ) // We should have a path not a command line
10
           Help (argv);
11
         else
(-)devel/ode/files/patch-ode_demo_demo__piston.cpp (+11 lines)
Added Link Here
1
--- ode/demo/demo_piston.cpp.orig	2013-08-19 17:48:05 UTC
2
+++ ode/demo/demo_piston.cpp
3
@@ -659,7 +659,7 @@ int main (int argc, char **argv)
4
                 {
5
                     int j = i+1;
6
                     if ( j+1 > argc      ||  // Check if we have enough arguments
7
-                            argv[j] == '\0' ||  // We should have a path here
8
+                            argv[j][0] == '\0' ||  // We should have a path here
9
                             argv[j][0] == '-' ) // We should have a path not a command line
10
                         Help (argv);
11
                     else

Return to bug 254898