From e8f5dcab4e20bc108f0a43877831facec1b60249 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Thu, 23 Sep 2010 08:00:18 +0000
Subject: [PATCH] we don't need X support and printer drivers.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38576 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 buildout/software-profiles/ghostscript.cfg | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/buildout/software-profiles/ghostscript.cfg b/buildout/software-profiles/ghostscript.cfg
index ad34d01f37..50a82d6d92 100644
--- a/buildout/software-profiles/ghostscript.cfg
+++ b/buildout/software-profiles/ghostscript.cfg
@@ -8,18 +8,22 @@ filename = ghostscript-hooks.py
 md5sum = e7b4a88db7000d3d3222dbe803791d8f
 download-only = true
 
+[ghostscript-common]
+pre-configure-hook = ${ghostscript-hooks-download:location}/${ghostscript-hooks-download:filename}:pre_configure_hook
+configure-options =
+  --disable-cups --without-x --with-drivers=FILES
+
 [ghostscript]
 <= ghostscript-9
-pre-configure-hook = ${ghostscript-hooks-download:location}/${ghostscript-hooks-download:filename}:pre_configure_hook
 
 [ghostscript-9]
+<= ghostscript-common
 recipe = hexagonit.recipe.cmmi
 url = http://ghostscript.com/releases/ghostscript-9.00.tar.gz
 md5sum = a402462478b4cdda3e1816899227b845
-configure-options =
-  --disable-cups
 
 [ghostscript-8]
+<= ghostscript-common
 recipe = hexagonit.recipe.cmmi
 url = http://ghostscript.com/releases/ghostscript-8.71.tar.gz
 md5sum = 51a522a5b4818bd3dc7c1c0e9dd22bad
-- 
2.30.9