ossp-pkg/shtool/sh.platform 1.25 -> 1.26
--- sh.platform 2007/07/25 06:24:11 1.25
+++ sh.platform 2007/07/25 16:40:06 1.26
@@ -182,6 +182,22 @@
SC="4.4BSD"
;;
+ # DragonFly BSD
+ *:DragonFly:* )
+ # determine architecture
+ AT="${UNAME_MACHINE}"
+ AP="${AT}"
+ case "${AP}" in
+ i[3-6]86 ) AP="iX86" ;;
+ esac
+ AC="${AP}"
+ # determine system
+ r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'`
+ ST="DragonFly ${r}"
+ SP="${ST}"
+ SC="4.4BSD"
+ ;;
+
# GNU/Linux
*:Linux:* )
# determine architecture
|
|