openbsd-ports/print/cups/patches/patch-test_run-stp-tests_sh
ajacoutot dd310005da Major update to cups-1.5.0.
Thanks to landry@ for the bulk testing.
2011-09-08 10:33:12 +00:00

22 lines
996 B
Plaintext

$OpenBSD: patch-test_run-stp-tests_sh,v 1.8 2011/09/08 10:33:12 ajacoutot Exp $
--- test/run-stp-tests.sh.orig Sat May 7 00:53:53 2011
+++ test/run-stp-tests.sh Fri Sep 2 09:33:11 2011
@@ -21,7 +21,7 @@ argcount=$#
# Make the IPP test program...
#
-make
+${MAKE_PROGRAM}
#
# Solaris has a non-POSIX grep in /bin...
@@ -431,7 +431,7 @@ fi
export LD_LIBRARY_PATH
-LD_PRELOAD="$root/cups/libcups.so.2:$root/filter/libcupsimage.so.2:$root/cgi-bin/libcupscgi.so.1:$root/scheduler/libcupsmime.so.1:$root/driver/libcupsdriver.so.1:$root/ppdc/libcupsppdc.so.1"
+LD_PRELOAD="$root/cups/libcups.so.${LIBcups_VERSION}:$root/filter/libcupsimage.so.${LIBcupsimage_VERSION}:$root/cgi-bin/libcupscgi.so.${LIBcupscgi_VERSION}:$root/scheduler/libcupsmime.so.${LIBcupsmime_VERSION}:$root/driver/libcupsdriver.so.${LIBcupsdriver_VERSION}:$root/ppdc/libcupsppdc.so.${LIBcupsppdc_VERSION}"
if test `uname` = SunOS -a -r /usr/lib/libCrun.so.1; then
LD_PRELOAD="/usr/lib/libCrun.so.1:$LD_PRELOAD"
fi