Ticket #29653: build_bin_sage-print-system-package-command

File build_bin_sage-print-system-package-command, 490 bytes (added by gh-thierry-FreeBSD, 19 months ago)

Add support of FreeBSD pkg in build/bin/sage-print-system-package-command

Line 
1--- build/bin/sage-print-system-package-command.orig    2020-05-05 00:32:24.000000000 +0200
2+++ build/bin/sage-print-system-package-command 2020-05-05 16:04:21.785997000 +0200
3@@ -76,6 +76,9 @@
4     cygwin*:install)
5         [ -n "$system_packages" ] && echo "${PROMPT}apt-cyg install $system_packages"
6         ;;
7+    freebsd*:install)
8+        [ -n "$system_packages" ] && echo "${PROMPT}${SUDO}pkg install $system_packages"
9+        ;;
10     *:update)
11         # Nothing needed
12         ;;