package/boinc: add optional dependency to freetype
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 29 Oct 2017 16:12:56 +0000 (17:12 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Oct 2017 17:21:51 +0000 (18:21 +0100)
No configure option present:
https://github.com/BOINC/boinc/blob/client_release/7.8/7.8.3/configure.ac#L497

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boinc/boinc.mk

index 01fa66ac9175a00ece2e3c25bb686b9d09579d0d..901f1ee986bd7709080a8f6a5ec0bbf71f34e2fc 100644 (file)
@@ -26,6 +26,10 @@ BOINC_CONF_OPTS = \
        --with-pkg-config=$(PKG_CONFIG_HOST_BINARY) \
        --with-libcurl=$(STAGING_DIR)/usr
 
+ifeq ($(BR2_PACKAGE_FREETYPE),y)
+BOINC_DEPENDENCIES += freetype
+endif
+
 ifeq ($(BR2_PACKAGE_LIBFCGI),y)
 BOINC_DEPENDENCIES += libfcgi
 BOINC_CONF_OPTS += --enable-fcgi