ports/devel/ros-documentation/files/patch-3rdparty__wxswig__Makefile
Rene Ladan 09bc610a2c - Update to 1.2.5
- Remove patch integrated upstream
- New patches to use GNU make which supports the -l parameter, sent upstream
2011-02-13 16:27:13 +00:00

14 lines
565 B
Text

--- 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