Bug 214812

Summary: [patch] misc/mc: get rid of mc.png and mc.desktop when building without X11 support
Product: Ports & Packages Reporter: Robert Schulze <rs>
Component: Individual Port(s)Assignee: Ben Woods <woodsb02>
Status: Closed FIXED    
Severity: Affects Some People Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (woodsb02)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
Patch Makefile and pkg-plist none

Description Robert Schulze 2016-11-25 06:03:32 UTC
Created attachment 177368 [details]
Patch Makefile and pkg-plist

Even without enabling X11, the port tries to download mc.png from arbitrary sources and fails. I made the icon and desktop-entry configurable.
Comment 1 commit-hook freebsd_committer 2017-03-06 08:06:11 UTC
A commit references this bug:

Author: woodsb02
Date: Mon Mar  6 08:05:55 UTC 2017
New revision: 435520
URL: https://svnweb.freebsd.org/changeset/ports/435520

  misc/mc: Only install desktop entry and icon if X11 option is enabled

  PR:		214812
  Submitted by:	Robert Schulze <rs@bytecamp.net>

Comment 2 Ben Woods freebsd_committer 2017-03-06 08:07:05 UTC
Committed with some minor changes to include the icon in the ports tree at misc/mc/files/mc.png. Thanks for the patch :)