aboutsummaryrefslogtreecommitdiff
path: root/package/freetype
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-24 08:31:22 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-24 08:31:22 +0000
commit309ff4f976cbdb56a327929efa077bb803914b46 (patch)
treea768fe7f72237879769b85cfcc3ca2e317384a46 /package/freetype
parent80161f54e34d7a2bdd5d029b9bafb7a08e152c63 (diff)
downloadbuildroot-309ff4f976cbdb56a327929efa077bb803914b46.tar.gz
buildroot-309ff4f976cbdb56a327929efa077bb803914b46.tar.bz2
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)
Diffstat (limited to 'package/freetype')
-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 360d666115..9e12cbeb1a 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))