From 9a3ab050dbb380b1e4ddbf61d629a10f051b0f84 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 28 Feb 2008 23:06:17 +0000 Subject: [PATCH] Fixed cups to stay inside on the sandbox, and marked to build on stage 1 when cross compiling --- printing/cups/cups.conf | 4 +++- printing/cups/cups.desc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/printing/cups/cups.conf b/printing/cups/cups.conf index 08059a068..8e1e2a0f9 100644 --- a/printing/cups/cups.conf +++ b/printing/cups/cups.conf @@ -22,7 +22,7 @@ cups_pm(){ mkdir -p $root/var/spool/cups/tmp chown daemon:daemon $root/var/spool/cups/tmp - mkdir -p $datadir/cups/drivers + mkdir -p $root$datadir/cups/drivers } # shared file transformation @@ -31,7 +31,9 @@ var_append INSTALL_WRAPPER_FILTER '|' \ var_append confopt " " "--with-logdir=/var/cups/log" var_append makeopt " " "INITDIR= INITDDIR=" + makeinstopt="$makeopt install" +var_append makeinstopt ' ' "BUILDROOT=$root" hook_add postmake 5 cups_pm diff --git a/printing/cups/cups.desc b/printing/cups/cups.desc index 829a8287f..70e583a2f 100644 --- a/printing/cups/cups.desc +++ b/printing/cups/cups.desc @@ -45,6 +45,6 @@ [L] GPL [S] Stable [V] 1.3.6 -[P] X -----5---9 122.900 +[P] X -?---5---9 122.900 [D] 1002496048 cups-1.3.6-source.tar.bz2 http://ftp.easysw.com/pub/cups/1.3.6/