Bug 199593

Summary: textproc/hgrep: Delete port (was: doesn't build on 10.x+ amd64, doesn't work)
Product: Ports & Packages Reporter: Dmitry Marakasov <amdmi3>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People CC: azet
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   

Description Dmitry Marakasov freebsd_committer freebsd_triage 2015-04-21 21:37:30 UTC
First, hgrep doesn't build on amd64 10.x+:

---
cc -O -ansi -pedantic -fpcc-struct-return   -c hgrep.c
cc: error: unsupported option '-fpcc-struct-return' for target 'x86_64-unknown-freebsd10.1'
*** [hgrep.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/textproc/hgrep/work/hgrep
1 error

make[1]: stopped in /wrkdirs/usr/ports/textproc/hgrep/work/hgrep
---

there's an update from 2014 on hgpep homepage which fixes it:

http://www.acme.com/software/hgrep/

However I coudn't bring either version to highlight anything, it just pipes grep output through. Do we really need this port, while grep supports --color option which does highlighting reliably out of box?
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-04-21 21:37:30 UTC
Maintainer informed via mail
Comment 2 Aaron Zauner 2015-04-24 12:22:32 UTC
(Original Maintainer here)

Please remove this port entirely. There's really no use-case for this tool anymore. FreeBSD has grep with coloring.
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2015-04-24 13:06:53 UTC
Reporter is Committer
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-04-24 18:51:47 UTC
A commit references this bug:

Author: amdmi3
Date: Fri Apr 24 18:50:58 UTC 2015
New revision: 384673
URL: https://svnweb.freebsd.org/changeset/ports/384673

Log:
  - Mark broken on 10.x+ amd64:

  cc: error: unsupported option '-fpcc-struct-return' for target 'x86_64-unknown-freebsd10.1'

  - Mark deprecated and set expiration data in T + 1 month: the port is no longer useful as base grep has coloring support

  PR:		199593
  Submitted by:	amdmi3
  Approved by:	azet@azet.org

Changes:
  head/textproc/hgrep/Makefile
Comment 5 Dmitry Marakasov freebsd_committer freebsd_triage 2015-06-02 02:37:14 UTC
The port was removed.