libgd: avoid recursive and redundant dependencies

Change the CONFLICTS line from the libgd-full to libgd to fix a
recursive dependency.

While at it, remove the redundant +LIBGD_TIFF:libtiff
+LIBGD_FREETYPE:libfreetype dependencies from Package/libgd/default.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2022-09-14 18:32:47 -03:00
parent 40f0235599
commit 085eb34fbf
No known key found for this signature in database
GPG key ID: 5FB9FAF260B80AEA

View file

@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/cmake.mk
define Package/libgd/default
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libjpeg +libpng +libwebp +LIBGD_TIFF:libtiff +LIBGD_FREETYPE:libfreetype
DEPENDS:=+libjpeg +libpng +libwebp
TITLE:=The GD graphics library
URL:=https://libgd.github.io/
endef
@ -36,6 +36,7 @@ define Package/libgd
MENU:=1
DEPENDS+=+LIBGD_TIFF:libtiff +LIBGD_FREETYPE:libfreetype
VARIANT:=default
CONFLICTS:=libgd-full
endef
define Package/libgd-full
@ -44,7 +45,6 @@ define Package/libgd-full
TITLE+=(full)
VARIANT:=full
PROVIDES:=libgd
CONFLICTS:=libgd
endef
define Package/libgd/description/default