summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-01-24 08:31:22 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-01-24 08:31:22 +0000
commit309ff4f976cbdb56a327929efa077bb803914b46 (patch)
treea768fe7f72237879769b85cfcc3ca2e317384a46
parent80161f54e34d7a2bdd5d029b9bafb7a08e152c63 (diff)
freetype: only depend on zlib if it is available
The dependency is only there so zlib gets built before freetype if it's available (for shared configure cache)
-rw-r--r--package/freetype/freetype.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index 360d66611..9e12cbeb1 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -4,13 +4,14 @@
#
#############################################################
FREETYPE_VERSION = $(strip $(subst ",, $(BR2_FREETYPE_VERSION)))
+#"))
FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
FREETYPE_LIBTOOL_PATCH = NO
FREETYPE_INSTALL_STAGING = YES
FREETYPE_INSTALL_TARGET = YES
FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
-FREETYPE_DEPENDENCIES = uclibc pkgconfig zlib
+FREETYPE_DEPENDENCIES = uclibc pkgconfig $(if $(BR2_PACKAGE_ZLIB,zlib)
$(eval $(call AUTOTARGETS,package,freetype))