mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
devel/ros: Properly support specified gmake
This port needs gmake, but "make" was hardcoded. This fix unbreaks it on head where bmake is default.
This commit is contained in:
parent
259339a625
commit
324f72f820
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335942
1 changed files with 39 additions and 0 deletions
39
devel/ros/files/patch-tools_rospack_Makefile
Normal file
39
devel/ros/files/patch-tools_rospack_Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
--- tools/rospack/Makefile.orig 2011-09-02 17:53:09.000000000 +0000
|
||||
+++ tools/rospack/Makefile
|
||||
@@ -10,28 +10,28 @@ all:
|
||||
-mkdir -p bin
|
||||
@if ! (cd build && cmake ..); then \
|
||||
echo "[rosbuild] CMake failed; trying to clean and start over"; \
|
||||
- make clean; \
|
||||
+ $(MAKE) clean; \
|
||||
mkdir -p build; \
|
||||
cd build && cmake ..; \
|
||||
fi
|
||||
- cd build && make $(PARALLEL_JOBS)
|
||||
+ cd build && $(MAKE) $(PARALLEL_JOBS)
|
||||
|
||||
install: all
|
||||
- cd build && make install
|
||||
+ cd build && $(MAKE) install
|
||||
|
||||
# The clean target blows everything away
|
||||
clean:
|
||||
- -cd build && make clean
|
||||
+ -cd build && $(MAKE) clean
|
||||
rm -rf build
|
||||
|
||||
test: all
|
||||
- if cd build && make -k $@; then make test-results; else make test-results && exit 1; fi
|
||||
+ if cd build && $(MAKE) -k $@; then make test-results; else $(MAKE) test-results && exit 1; fi
|
||||
tests: all
|
||||
- cd build && make $@
|
||||
+ cd build && $(MAKE) $@
|
||||
test-future: all
|
||||
- cd build && make -k $@
|
||||
+ cd build && $(MAKE) -k $@
|
||||
gcoverage: all
|
||||
- cd build && make $@
|
||||
+ cd build && $(MAKE) $@
|
||||
|
||||
#SRC = main.cpp
|
||||
#LIBSRC = rospack.cpp \
|
Loading…
Add table
Reference in a new issue