Bug 224209

Summary: devel/critcl: fails to package on armv6, armv7 and aarch64
Product: Ports & Packages Reporter: Mikael Urankar <mikael>
Component: Individual Port(s)Assignee: freebsd-tcltk (Nobody) <tcltk>
Status: Closed FIXED    
Severity: Affects Only Me CC: freebsd-arm, gahr, linimon
Priority: --- Flags: bugzilla: maintainer-feedback? (tcltk)
Version: Latest   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
patch none

Description Mikael Urankar freebsd_committer freebsd_triage 2017-12-09 16:30:29 UTC
Created attachment 188657 [details]
patch

the error on arm* is: pkg-static: Unable to access file lib/critcl_md5c0.12/freebsd-armv6/md5c.so:No such file or directory

tcl defines the arm* arch as arm:
from tcl86-8.6.7, lib/tcl8.6/platform-1.0.14.tm:

proc ::platform::generic {} {
snip
    set cpu  $tcl_platform(machine)
    switch -glob -- $cpu {
        "arm*" {
            set cpu arm
        }

the attached patch fixes the problem
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-12-11 10:32:02 UTC
A commit references this bug:

Author: gahr
Date: Mon Dec 11 10:31:07 UTC 2017
New revision: 455935
URL: https://svnweb.freebsd.org/changeset/ports/455935

Log:
  devel/critcl: unbreak on arm

  PR:		224209
  Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>

Changes:
  head/devel/critcl/Makefile