Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2014 19:52:40 +0100 (CET)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/185471: bsd.port.mk: MLINKS "-" shortcut broken
Message-ID:  <201401041852.s04IqePh003784@lorvorc.mips.inka.de>
Resent-Message-ID: <201401041930.s04JU0Bn052501@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185471
>Category:       ports
>Synopsis:       bsd.port.mk: MLINKS "-" shortcut broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 04 19:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Christian Weisgerber
>Release:        FreeBSD 10.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD lorvorc.mips.inka.de 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #0 r260257: Sat Jan 4 14:54:46 CET 2014 naddy@lorvorc.mips.inka.de:/usr/obj/usr/src/sys/GENERIC amd64

>Description:

The "-" shortcut in MLINKS doesn't work any longer.  This could be
used as a ditto mark if you had a number of <source, target> tuples
where <source> was always the same.  Now a symlink to a literal
file "-" is created.

See ports/devel/libevent for an example port that uses this.

Since the code to handle "-" is still there in the __pmlinks
assignment, I assume this is a bug rather than an intentional change.

>How-To-Repeat:

Install ports/devel/libevent.

$ ls -l /usr/local/man/man3/event_dispatch.3*
lrwxr-xr-x  1 root  wheel  11 Dec 28 20:59 /usr/local/man/man3/event_dispatch.3.gz -> ../man/-.gz

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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