On fresh install of 9.0 Pre-Release, with no ports installed, lang/f2c fails to extract.
The reason is /usr/ports/lang/f2c/Makefile contains
When it checks for unzip, it's found in /usr/bin/unzip, but the Makefile uses ${UNZIP_CMD} which is set to /usr/local/bin/unzip.
bsd.port.mk uses
to achieve the same effect, when the USE_ZIP setting is used.
I have already contacted the maintainer, who was unable to reproduce the problem. Is anyone else running into this?
Thanks.
Code:
freebsd# make extract
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
===> Extracting for f2c-20060810_3
=> SHA256 Checksum OK for f2c-20060810/f2c.tar.
===> f2c-20060810_3 depends on executable: unzip - found
cd /tmp/usr/ports/lang/f2c/work/f2c && /usr/bin/find . -name "*.gz" | /usr/bin/xargs minigzip -d
cd /tmp/usr/ports/lang/f2c/work/f2c && /usr/local/bin/unzip libf2c.zip
/usr/local/bin/unzip: not found
*** Error code 127
Stop in /usr/ports/lang/f2c.
The reason is /usr/ports/lang/f2c/Makefile contains
Code:
EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip
When it checks for unzip, it's found in /usr/bin/unzip, but the Makefile uses ${UNZIP_CMD} which is set to /usr/local/bin/unzip.
bsd.port.mk uses
Code:
EXTRACT_DEPENDS=${localbase}/bin/unzip:${PORTSDIR}/archivers/unzip
I have already contacted the maintainer, who was unable to reproduce the problem. Is anyone else running into this?
Thanks.