openbsd-ports/print/cups/patches/patch-test_run-stp-tests_sh
2019-03-23 12:19:54 +00:00

24 lines
685 B
Plaintext

$OpenBSD: patch-test_run-stp-tests_sh,v 1.22 2019/03/23 12:19:54 ajacoutot Exp $
Index: test/run-stp-tests.sh
--- test/run-stp-tests.sh.orig
+++ test/run-stp-tests.sh
@@ -34,7 +34,7 @@ umask 022
# Make the IPP test program...
#
-make
+${MAKE_PROGRAM}
#
# Solaris has a non-POSIX grep in /bin...
@@ -586,7 +586,7 @@ else
LD_LIBRARY_PATH="$root/cups:$root/filter:$LD_LIBRARY_PATH"
fi
-LD_PRELOAD="$root/cups/libcups.so.2:$root/filter/libcupsimage.so.2"
+LD_PRELOAD="$root/cups/libcups.so.${LIBcups_VERSION}:$root/filter/libcupsimage.so.${LIBcupsimage_VERSION}"
if test `uname` = SunOS -a -r /usr/lib/libCrun.so.1; then
LD_PRELOAD="/usr/lib/libCrun.so.1:$LD_PRELOAD"
fi