Bug 166188

Summary: [PATCH] ports/Makefile use documented sort syntax
Product: Ports & Packages Reporter: lgfbsd
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: gabor, robak
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description lgfbsd 2012-03-16 22:30:00 UTC
ports/Makefile uses a very old syntax for sort(1) in building an INDEX file.

Fix: I'm not 100% sure of the field counts in the patch, because the old
syntax isn't very precisely documented. I did some quick tests to
check it, though, so I think it's probably correct.
How-To-Repeat: 
Try to build INDEX with textproc/bsdsort.
Trying to force Gnu sort into POSIX mode might do it also.
Comment 1 Chris Rees freebsd_committer freebsd_triage 2012-03-17 00:31:24 UTC
Class Changed
From-To: change-request->sw-bug
Comment 2 Chris Rees freebsd_committer freebsd_triage 2012-03-17 00:31:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

PR for portmgr
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 02:50:48 UTC
Infrastructure PR.
Comment 4 Bartek Rutkowski freebsd_committer freebsd_triage 2017-02-25 17:25:31 UTC
Portmgr guys, any comments on that? Should it be closed?
Comment 5 commit-hook freebsd_committer freebsd_triage 2019-09-04 14:07:59 UTC
A commit references this bug:

Author: bapt
Date: Wed Sep  4 14:07:49 UTC 2019
New revision: 511095
URL: https://svnweb.freebsd.org/changeset/ports/511095

Log:
  Use sort with "modern" option

  When building index we were using obsolete (but still supported options)
  let use the non obsolete one.

  PR:		166188
  Submitted by:	lgfbsd@be-well.ilk.org

Changes:
  head/Makefile