[Lunar-commits] <moonbase> ghostscript: altering BUILD to account for configure looking in the wrong include path for paper.h.

Dennis 'stumbles' Veatch stumbles at lunar-linux.org
Sat Feb 14 15:07:26 CET 2009


commit 375751e17e16a1b8068738bc729db38be09d928b
Author: Dennis 'stumbles' Veatch <stumbles at lunar-linux.org>
Date:   Sat Feb 14 09:07:26 2009 -0500

    ghostscript: altering BUILD to account for configure looking in the wrong
    include path for paper.h.
    
    This closes bug report 379.
---
 printer/ghostscript/BUILD   |    5 +++++
 printer/ghostscript/DEPENDS |    3 +++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/printer/ghostscript/BUILD b/printer/ghostscript/BUILD
index dbbf174..4b9182a 100644
--- a/printer/ghostscript/BUILD
+++ b/printer/ghostscript/BUILD
@@ -1,5 +1,9 @@
 (
 
+  if module_installed libpaper ; then
+     sedit "s:lpaper:llibpaper:g" configure
+  fi &&
+
   export CFLAGS="$CFLAGS -fPIC"
 
   default_build  &&
@@ -7,3 +11,4 @@
   make install-so
 
 ) > $C_FIFO 2>&1
+
diff --git a/printer/ghostscript/DEPENDS b/printer/ghostscript/DEPENDS
index f039d51..1284e47 100644
--- a/printer/ghostscript/DEPENDS
+++ b/printer/ghostscript/DEPENDS
@@ -6,3 +6,6 @@ optional_depends "ijs"  "--with-ijs" "--without-ijs" "For ijs driver support"
 optional_depends "cups"    ""        ""              "To build the CUPS backends (recommended)"
 optional_depends "gtk+-2"  ""        ""              "For GTK support"
 optional_depends "cairo"   ""        ""              "For cairo graphics support"
+
+optional_depends "libpaper" "--with-libpaper"       "--without-libpaper" \
+                                      "for additonal paper size support"


More information about the Lunar-commits mailing list