Bug 224209 - devel/critcl: fails to package on armv6, armv7 and aarch64
Summary: devel/critcl: fails to package on armv6, armv7 and aarch64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-tcltk (Nobody)
Depends on:
Reported: 2017-12-09 16:30 UTC by Mikael Urankar
Modified: 2017-12-11 10:32 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (tcltk)

patch (938 bytes, patch)
2017-12-09 16:30 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer 2017-12-09 16:30:29 UTC
Created attachment 188657 [details]

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 {} {
    set cpu  $tcl_platform(machine)
    switch -glob -- $cpu {
        "arm*" {
            set cpu arm

the attached patch fixes the problem
Comment 1 commit-hook freebsd_committer 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

  devel/critcl: unbreak on arm

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