aboutsummaryrefslogtreecommitdiff
path: root/devel/ros/files/patch-3rdparty__wxswig__Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ros/files/patch-3rdparty__wxswig__Makefile')
-rw-r--r--devel/ros/files/patch-3rdparty__wxswig__Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/ros/files/patch-3rdparty__wxswig__Makefile b/devel/ros/files/patch-3rdparty__wxswig__Makefile
new file mode 100644
index 000000000000..4fc03c85ac53
--- /dev/null
+++ b/devel/ros/files/patch-3rdparty__wxswig__Makefile
@@ -0,0 +1,14 @@
+--- 3rdparty/wxswig/Makefile.orig 2010-09-28 22:37:32.000000000 +0200
++++ 3rdparty/wxswig/Makefile 2011-02-13 13:18:06.000000000 +0100
+@@ -13,7 +13,11 @@
+ ./configure --prefix=$(WXSWIG_ROOT)
+
+ wxswig: $(SOURCE_DIR)/unpacked
++ifneq ($(MAKE),)
++ cd $(SOURCE_DIR) && ./configure --prefix=$(shell rospack find wxswig) && $(MAKE) $(ROS_PARALLEL_JOBS) && $(MAKE) install
++else
+ cd $(SOURCE_DIR) && ./configure --prefix=$(shell rospack find wxswig) && make $(ROS_PARALLEL_JOBS) && make install
++endif
+ mv bin/swig bin/swig-real
+ cp swig-wrap bin/swig
+ touch wxswig