ports/185471: bsd.port.mk: MLINKS "-" shortcut broken

Christian Weisgerber naddy at FreeBSD.org
Sat Jan 4 19:30:01 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list