pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45174: [PATCH] lang/ocaml with 5.1.0_PATCH machine



>Number:         45174
>Category:       pkg
>Synopsis:       hostname triplet tweak
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 24 10:35:00 +0000 2011
>Originator:     Makoto Fujiwara
>Release:        NetBSD 5.1.0_PATCH
>Organization:
KINU Corporation
>Environment:
        
        
System: NetBSD xen3 5.1.0_PATCH NetBSD 5.1.0_PATCH (XEN3_DOM0) #0: Mon Apr 4 
19:37:19 UTC 2011 
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1/amd64/201104041800Z-obj/home/builds/ab/netbsd-5-1/src/sys/arch/amd64/compile/XEN3_DOM0
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        Some machines with uname -r returns long, hostname triplet is like
        x86_64-unknown-netbsd5.1.0
        In such case, configure string-match needs some tweak.
>How-To-Repeat:
        (1) Machine like Release name is long, for example 
netbsd-5-1/amd64/201104041800Z
        (2) cd pkgsrc/lang/ocaml; make package
        will ended natdynlink is not enabled.

=> Checking file-check results for ocaml-3.12.0nb3
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/bigarray.cmxs
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/dbm.cmxs
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/dynlink.a
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/dynlink.cmx
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/dynlink.cmxa
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/nums.cmxs
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/str.cmxs
ERROR:         
/export/pkgsrc/lang/ocaml/work/.destdir/usr/pkg/lib/ocaml/unix.cmxs

>Fix:
Index: lang/ocaml/distinfo
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/lang/ocaml/distinfo,v
retrieving revision 1.55
diff -u -r1.55 distinfo
--- lang/ocaml/distinfo 20 Jul 2011 14:10:09 -0000      1.55
+++ lang/ocaml/distinfo 24 Jul 2011 10:11:43 -0000
@@ -11,7 +11,7 @@
 SHA1 (patch-ah) = 3165bbcdb98d09f5161912e51a3131486aa0b488
 SHA1 (patch-aj) = 6fd989f1e5dd1263890c14459dd4ab85d75e86cd
 SHA1 (patch-an) = 8fb8efecd2b3f0ec6f913a0840f4cfebcbb6161e
-SHA1 (patch-at) = c6c2c73f84ecb1e760bd3a51a9017153a673c791
+SHA1 (patch-at) = 38e0a0a87a3f322b346adf08ab899a18d5bc155e
 SHA1 (patch-au) = 1e36bcdf39d40e781273ea51df213db05ff46c89
 SHA1 (patch-av) = f56c8924b81a620602bc5a67b0c4459b721701d2
 SHA1 (patch-aw) = ce7b09f19f9f086b65b5036b6684c5243e990b8c
Index: lang/ocaml/patches/patch-at
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/lang/ocaml/patches/patch-at,v
retrieving revision 1.22
diff -u -r1.22 patch-at
--- lang/ocaml/patches/patch-at 20 Jul 2011 14:10:09 -0000      1.22
+++ lang/ocaml/patches/patch-at 24 Jul 2011 10:11:39 -0000
@@ -45,8 +45,8 @@
      i686-*-kfreebsd*)             natdynlink=true;;
      x86_64-*-kfreebsd*)           natdynlink=true;;
      i386-*-gnu0.3)                natdynlink=true;;
-+    i[3456]86-*-netbsdelf)        natdynlink=true;;
-+    x86_64-*-netbsdelf)           natdynlink=true;;
++    i[3456]86-*-netbsd*)          natdynlink=true;;
++    x86_64-*-netbsd*)             natdynlink=true;;
    esac
  fi
  

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index