ports/77444: devel/porkmk ingoners FETCH_BEFORE_ARGS= -o ....

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Sun Feb 13 11:20:01 UTC 2005


>Number:         77444
>Category:       ports
>Synopsis:       devel/porkmk ingoners FETCH_BEFORE_ARGS= -o ....
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 13 11:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.3-STABLE #0: Thu Feb 10 17:38:05 EET 2005



>Description:


devel/portmk/scripts/distfiles.sh wrapper function fetch_fetch() is called like:
fetch_fetch "$url" "$3" "$4"

the fetch command in fetch_fetch() is
  $SETENV $FETCH_ENV $FETCH_CMD $FETCH_BEFORE_ARGS$symlink$cksize \
    -o "$2" "$1" $FETCH_AFTER_ARGS

if a Makefile defines FETCH_BEFORE_ARGS= ...-o output.file ...
-o is overriden by the -o $2 above


>How-To-Repeat:


cd /usr/ports/mail/dspam && make -DMAINT fetch
the file is fetched as snapshot-stable.tar.gz

disble portmk from /etc/make.conf
and repeat fetch
the file is feched as ${PORTNAME}-{PORTVERSION}.tar.gz

(SNAP_DATE should have a value for this to work, see the Makefile)


>Fix:





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



More information about the freebsd-ports-bugs mailing list