diff --git a/buildout/software-profiles/ghostscript.cfg b/buildout/software-profiles/ghostscript.cfg
index ad34d01f37fae90934d0cf133b1f791690636ddc..50a82d6d92a51edf5c2b805687f8ee7f25498a6c 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