Module Name:    othersrc
Committed By:   agc
Date:           Fri Apr 12 20:47:47 UTC 2013

Modified Files:
        othersrc/external/bsd/rs/rs: Makefile

Log Message:
when testing, use the library we've just built, rather than any installed one


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/rs/rs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/rs/rs/Makefile
diff -u othersrc/external/bsd/rs/rs/Makefile:1.3 othersrc/external/bsd/rs/rs/Makefile:1.4
--- othersrc/external/bsd/rs/rs/Makefile:1.3	Wed Mar 23 04:56:33 2011
+++ othersrc/external/bsd/rs/rs/Makefile	Fri Apr 12 20:47:47 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/03/23 04:56:33 agc Exp $
+# $NetBSD: Makefile,v 1.4 2013/04/12 20:47:47 agc Exp $
 
 .include <bsd.own.mk>
 
@@ -27,17 +27,17 @@ t: ./${PROG}
 		echo "$$f";					\
 		rm -f a a2 a3;					\
 		cp $$f a;					\
-		./${PROG} < a > a2;				\
+		env LD_LIBRARY_PATH=${LIBRSDIR} ./${PROG} < a > a2; \
 		sed -e 's|X|M|g' a2 | ./${PROG} -d > a3;	\
 		ls -al a a2 a3;					\
 		cmp a a3;					\
 		rm -f a a2 a3;					\
 	done
-	./${PROG} -o a2 -p 28,24 Makefile
-	./${PROG} -d -o a3 a2
+	env LD_LIBRARY_PATH=${LIBRSDIR} ./${PROG} -o a2 -p 28,24 Makefile
+	env LD_LIBRARY_PATH=${LIBRSDIR} ./${PROG} -d -o a3 a2
 	diff Makefile a3
 	rm -f a2 a3
-	./${PROG} -p 28,24 Makefile | ./${PROG} -o a2 -p 32,28
-	./${PROG} -d a2 | ./${PROG} -d -o a3
+	env LD_LIBRARY_PATH=${LIBRSDIR} ./${PROG} -p 28,24 Makefile | ./${PROG} -o a2 -p 32,28
+	env LD_LIBRARY_PATH=${LIBRSDIR} ./${PROG} -d a2 | ./${PROG} -d -o a3
 	diff Makefile a3
 	rm -f a2 a3

Reply via email to