mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
- Optionize building demos - Fix depends (only depend on GL for demos, fix configure dependency detection by using USES=localbase and pkgconfig) - Fix build of demo code (use older compatible C++ standard and patch some bits) - Use native OPTIONS feature to make options mutually exclusive PR: 254898 Approved by: acm (maintainer)
11 lines
563 B
C++
11 lines
563 B
C++
--- ode/demo/demo_jointPR.cpp.orig 2013-08-19 17:48:05 UTC
|
|
+++ ode/demo/demo_jointPR.cpp
|
|
@@ -329,7 +329,7 @@ int main (int argc, char **argv)
|
|
{
|
|
int j = i+1;
|
|
if ( j+1 > argc || // Check if we have enough arguments
|
|
- argv[j] == '\0' || // We should have a path here
|
|
+ argv[j][0] == '\0' || // We should have a path here
|
|
argv[j][0] == '-' ) // We should have a path not a command line
|
|
Help(argv);
|
|
else
|