$OpenBSD: patch-test_run-stp-tests_sh,v 1.3 2007/03/17 18:28:02 deanna Exp $
--- test/run-stp-tests.sh.orig	Wed Nov 15 15:37:45 2006
+++ test/run-stp-tests.sh	Fri Mar 16 16:50:33 2007
@@ -30,7 +30,7 @@ argcount=$#
 # Make the IPP test program...
 #
 
-make
+${MAKE_PROGRAM}
 
 #
 # Figure out the proper echo options...
@@ -373,7 +373,7 @@ fi
 
 export LD_LIBRARY_PATH
 
-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"
 export LD_PRELOAD
 
 if test "x$DYLD_LIBRARY_PATH" = x; then
