1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/devel/ros-common/files/patch-yaml_cpp__Makefile
Rene Ladan da287c3a37 Upgrade the Robot Operating System ports to their 1.4 aka Diamondback versions.
Detailed changelists are available on the WWW sites.

Port changes:
- distribution files are now fetched from upstream servers instead of
  using local copies from my server
- Python files are now always compiled (to .pyc and .pyo) and use Python 2.7
- devel/ros is now split in to devel/ros, devel/ros-documentation,
  devel/ros-rx, and devel-ros-comm to allow more lightweight installations
- Connect latter 3 ports to the build
2011-05-31 22:24:13 +00:00

36 lines
798 B
Plaintext

--- yaml_cpp/Makefile.orig 2011-02-25 05:21:32.000000000 +0100
+++ yaml_cpp/Makefile 2011-05-26 23:10:16.000000000 +0200
@@ -13,20 +13,31 @@
yaml-cpp: wiped $(SOURCE_DIR)/unpacked
cd build && cmake -DCMAKE_INSTALL_PREFIX=../yaml-cpp yaml-cpp-0.2.5
+ifneq ($(MAKE),)
+ cd build && $(MAKE) && $(MAKE) install
+else
cd build && make && make install
+endif
if [ `uname` = Darwin ]; then \
install_name_tool -id `rospack find yaml_cpp`/yaml-cpp/lib/libyaml-cpp.0.2.dylib yaml-cpp/lib/libyaml-cpp.0.2.dylib; \
fi
clean:
rm -rf yaml-cpp $(SOURCE_DIR)
+ifneq ($(MAKE),)
+ -cd build && $(MAKE) clean
+else
-cd build && make clean
+endif
wipe: clean
- rm -rf build
wiped: Makefile
+ifneq ($(MAKE),)
+ $(MAKE) -f Makefile wipe
+else
make -f Makefile wipe
+endif
touch wiped