components/ghostscript/Makefile
changeset 441 8a584a286658
parent 345 61b29cf8b717
child 519 64d5e70ee0eb
--- a/components/ghostscript/Makefile	Thu Jul 28 22:39:02 2011 -0700
+++ b/components/ghostscript/Makefile	Thu Jul 28 22:39:45 2011 -0700
@@ -43,6 +43,7 @@
 CONFIGURE_OPTIONS +=	--enable-cups
 CONFIGURE_OPTIONS +=	--enable-dynamic
 CONFIGURE_OPTIONS +=	--disable-compile-inits
+CONFIGURE_OPTIONS +=	--disable-freetype
 CONFIGURE_OPTIONS +=	--with-fontpath=/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource:/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource/Font:/usr/share/ghostscript/fonts:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/openwin/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Type1:/usr/X11/lib/fonts/TrueType:/usr/X11/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Resource:/usr/X11/lib/X11/Resource/Font
 
 # config env
@@ -56,7 +57,7 @@
 
 # autoconf - Generate configuration scripts
 COMPONENT_PREP_ACTION = \
-	 (cd $(@D); autoconf)
+	 (cd $(@D); $(RM) -r libpng zlib jpeg ; autoconf)
 
 $(GS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
 	($(CLONEY) $(SOURCE_DIR) $(@D))