around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
time as the REPLACE_PERL definition, simplify things by using the
REPLACE_PERL functionality.
Also substitute the correct prefix in a package Makefile target,
rather than using the configure script.
Remove now unnecessary script.
it assumed that:
- bin/mirror is in cwd (so cwd must be ${PREFIX}/bin)
- generate logs into ./logs (so logs will be generated into ${PREFIX}/bin/logs)
but it is very annoying. let us invoke bin/mirror with full pathname.
add rcsid to patches/patch-a[de].
with pack(). This is how perl's socket test works, and makes mirror work
on my i386/1.4 (otherwise connect() fails with "Address family not
supported by protocol family").
- ftp.pl: temporary files were created 0666 ! create the temp file mode 0600,
the correct permissions will be set by mirror once the transfer is done.
- Move all sed stuff into scrips/configure so it can be done in one
pass (no post-configure target in Makefile anymore).
- Use "compress" for $compress_prog instead of gzip; our compress
needs the -f flag to make it quiet (additional pathes to mirror.pl)
- Fix PASV handling (too strict a regexp -- breaks on Win NT servers
that emulate UNIX behaviour -- NT added a trailing dot to the 227
message and ftp.pl was not tolerating that)
- Add $PREFIX/bin and $PREFIX/sbin to $extra_path (leaving /usr/local
directories in)
- Do not modify ${WRKSRC}/mirror, it is a symlink in the distribution