summaryrefslogtreecommitdiff
path: root/print/cups/patches/patch-ag
blob: 815ae84df0f277d2cbb41a3e3d9a221eb5f9fedb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ag,v 1.21 2010/05/20 08:06:44 sbd Exp $

cups installs stuff in /usr/pkg/lib64 on Linux. Don't do this.

--- config-scripts/cups-3264.m4.orig	2007-07-11 23:46:42.000000000 +0200
+++ config-scripts/cups-3264.m4
@@ -95,7 +95,7 @@ case "$uname" in
 			LIB32CUPS="32bit/libcups.so.2"
 			LIB32CUPSIMAGE="32bit/libcupsimage.so.2"
 			LIB32DIR="$exec_prefix/lib"
-			if test -d /usr/lib32; then
+			if test -d /usr/lib32 && false; then
 				LIB32DIR="${LIB32DIR}32"
 			fi
 			UNINSTALL32="uninstall32bit"
@@ -107,7 +107,7 @@ case "$uname" in
 			LIB64CUPS="64bit/libcups.so.2"
 			LIB64CUPSIMAGE="64bit/libcupsimage.so.2"
 			LIB64DIR="$exec_prefix/lib"
-			if test -d /usr/lib64; then
+			if test -d /usr/lib64 && false; then
 				LIB64DIR="${LIB64DIR}64"
 			fi
 			UNINSTALL64="uninstall64bit"