void-packages/srcpkgs/gmic/patches/makefile.patch
Sir_Boops 6d34615574 gmic: update to 2.0.2
Closes: #6930 [via git-merge-pr]
2017-07-02 23:02:18 -07:00

25 lines
993 B
Diff

--- src/Makefile 2017-06-22 08:41:18.000000000 -0400
+++ src/Makefile 2017-07-02 05:37:27.341025728 -0400
@@ -477,14 +477,14 @@
gmic_qt_path:
@if [ ! -d ../gmic-qt ]; then \
- if [ ! -d ../../gmic-qt ]; then \
+ if [ ! -d ../gmic-qt ]; then \
echo "**"; \
echo "** Warning: folder 'gmic-qt' was not found !"; \
echo "** It is mandatory to compile the G'MIC plug-in for GIMP 'gmic_gimp_qt',"; \
echo "** as well as the standalone Qt-based interface 'gmic_qt'."; \
echo "** Trying to retrieve it, with: $$ cd ../../ && git clone https://github.com/c-koi/gmic-qt.git"; \
echo "**"; \
- if cd ../../ && git clone https://github.com/c-koi/gmic-qt.git; then \
+ if cd ../ && git clone https://github.com/c-koi/gmic-qt.git; then \
echo "**"; \
echo "** Success !"; \
echo "**"; \
@@ -494,7 +494,6 @@
echo "**"; \
fi; \
fi; \
- if [ -d ../../gmic-qt ]; then ln -fs ../gmic-qt ..; fi \
fi