void-packages/srcpkgs/gmic/patches/03-plugindir-and-no-wget.patch

16 lines
602 B
Diff

Index: gmic-2.9.9/src/Makefile
===================================================================
--- gmic-2.9.9.orig/src/Makefile
+++ gmic-2.9.9/src/Makefile
@@ -67,8 +67,8 @@ INCLUDE = include
SO = .so
PIC = -fPIC
EXE =
-WGET = wget --no-check-certificate --quiet -O
-PLUGINDIR = $(shell gimptool-2.0 --gimpplugindir)/plug-ins
+WGET = false
+PLUGINDIR = /usr/lib/gimp/2.0/plug-ins
VERSION = $(shell grep 'gmic_version\ ' gmic.h | tail -c4 | head -c3)
VERSION1 = $(shell grep 'gmic_version\ ' gmic.h | tail -c4 | head -c1)
VERSION2 = $(shell grep 'gmic_version\ ' gmic.h | tail -c3 | head -c1)