Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 15:05:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 220211] bsd.port.mk: Use POSIX-compliant expressions for check-desktop-entries target
Message-ID:  <bug-220211-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220211

            Bug ID: 220211
           Summary: bsd.port.mk: Use POSIX-compliant expressions for
                    check-desktop-entries target
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: bsdports@kyle-evans.net
                CC: freebsd-ports-bugs@FreeBSD.org

Created attachment 183713
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183713&action=
=3Dedit
svn(1) diff of Mk/bsd.port.mk

check-desktop-entries uses GNU extensions (branching in BREs) to validate t=
hat
a main category appears. I'm attaching a patch to fix this by using EREs for
branching, which also simplifies the sed expression a tiny bit with less
escaping.

Tested with `make check-desktop-entries` before/after with games/gzdoom usi=
ng
valid and invalid entries both before and after.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220211-13>