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/