ports/129689: devel/git installs zero-length git-p4import

Evan Powers evan.powers+bsdbug at gmail.com
Tue Dec 16 19:10:01 UTC 2008

>Number:         129689
>Category:       ports
>Synopsis:       devel/git installs zero-length git-p4import
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 16 19:10:00 UTC 2008
>Originator:     Evan Powers
>Release:        8.0-CURRENT
See the Makefile for devel/git (v

> # grep -C2 git-p4import.py Makefile
> .ifdef (WITH_P4)
>         @${REINPLACE_CMD} -e'1s|#!/usr/bin/python|#!${PYTHON_CMD}|' \
>                 ${WRKSRC}/contrib/p4import/git-p4import.py > \
>                 ${WRKSRC}/contrib/p4import/git-p4import
> .endif

Note that that's RE*IN*PLACE_CMD, so git-p4import.py gets patched in-place without printing anything to stdout; thus, git-p4import is zero length.
cd /usr/ports/devel/git
make install
.ifdef (WITH_P4)
        @${CP} ${WRKSRC}/contrib/p4import/git-p4import.py \
        @${REINPLACE_CMD} -e'1s|#!/usr/bin/python|#!${PYTHON_CMD}|' \


More information about the freebsd-ports-bugs mailing list