diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-05 14:33:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-05 14:33:33 +0100 |
commit | 7e8cdcf2032ee3ff5ed90a15dbe0c4baefe96edb (patch) | |
tree | c590cf76c8224c3312bc6274e3cd15d57b6f33b9 /package/cups/patches/patch-configure | |
parent | d96d9c10cfa4b990cc70c7660cdc13c7c6bafa86 (diff) |
fix cups build on darwin
Diffstat (limited to 'package/cups/patches/patch-configure')
-rw-r--r-- | package/cups/patches/patch-configure | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/package/cups/patches/patch-configure b/package/cups/patches/patch-configure index 19c9f6092..3a4974140 100644 --- a/package/cups/patches/patch-configure +++ b/package/cups/patches/patch-configure @@ -1,11 +1,14 @@ --- cups-1.7.1.orig/configure 2014-01-08 17:26:27.000000000 +0100 -+++ cups-1.7.1/configure 2014-01-24 18:05:03.000000000 +0100 -@@ -5792,7 +5792,7 @@ fi ++++ cups-1.7.1/configure 2014-01-31 16:48:50.000000000 +0100 +@@ -2490,9 +2490,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu - case "$COMPONENTS" in - all) -- BUILDDIRS="filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates" -+ BUILDDIRS="filter backend berkeley monitor notifier ppdc conf data" - ;; - core) + +-uname=`uname` +-uversion=`uname -r | sed -e '1,$s/^[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/'` +-uarch=`uname -m` ++uname=Linux ++uversion=3.0 + + case "$uname" in + Darwin*) |