瀏覽代碼

upgrade to latest GNU shtool snapshot to fix platform detection under NetBSD 1.6.2-STABLE

Ralf S. Engelschall 21 年之前
父節點
當前提交
bf0f44b453
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 1 0
      openpkg/HISTORY
  2. 1 1
      openpkg/openpkg.spec
  3. 2 2
      openpkg/shtool

+ 1 - 0
openpkg/HISTORY

@@ -2,6 +2,7 @@
 2004
 ====
 
+20040607 upgrade to latest GNU shtool snapshot to fix platform detection under NetBSD 1.6.2-STABLE
 20040604 revise the stderr processing of run-command processor in case of -d/--debug
 20040604 add -k/--keep option to run-command processor for debug purposes
 20040604 add GNU bash 2.05b vendor patches 001-007

+ 1 - 1
openpkg/openpkg.spec

@@ -39,7 +39,7 @@
 #   o any cc(1)
 
 #   the package version/release
-%define       V_openpkg  20040604
+%define       V_openpkg  20040607
 
 #   the used software versions
 %define       V_rpm      4.2.1

+ 2 - 2
openpkg/shtool

@@ -2610,7 +2610,7 @@ platform )
             esac
             AC="${AP}"
             #   determine system
-            r=`echo "${UNAME_RELEASE}" | sed -e 's/\(-.*\)$/[\1]/'`
+            r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'`
             ST="NetBSD ${r}"
             SP="${ST}"
             case "${r}" in
@@ -2629,7 +2629,7 @@ platform )
             esac
             AC="${AP}"
             #   determine system
-            r=`echo "${UNAME_RELEASE}" | sed -e 's/\(-.*\)$/[\1]/'`
+            r=`echo "${UNAME_RELEASE}" | sed -e 's/\([-_].*\)$/[\1]/'`
             ST="OpenBSD ${r}"
             SP="${ST}"
             SC="4.4BSD"