Adjust for NetBSD location of perl.
authorJim Wise <jwise@menegroth.draga.com>
Wed, 9 Nov 2011 14:18:02 +0000 (09:18 -0500)
committerJim Wise <jwise@menegroth.draga.com>
Wed, 9 Nov 2011 14:20:38 +0000 (09:20 -0500)
NetBSD does not ship with perl by default, but if it's present, it will
be in /usr/pkg/bin.  Would be nice to find another portable way to do this.

tests/run-program.impure.lisp

index 5c8b988..8eae0d0 100644 (file)
   (let ((had-error-p nil))
     (flet ((barf (&optional (format :default))
              (with-output-to-string (stream)
-               (run-program "/usr/bin/perl"
+               (run-program #-netbsd "/usr/bin/perl" #+netbsd "/usr/pkg/bin/perl"
                             '("-e" "print \"\\x20\\xfe\\xff\\x0a\"")
                             :output stream
                             :external-format format)))