diff options
author | tv <tv@pkgsrc.org> | 2001-07-09 17:10:25 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2001-07-09 17:10:25 +0000 |
commit | d6c0d5882cac889fd7c897de0b4e4a1587866374 (patch) | |
tree | 508d438c82508885c51b0541a22e4a250e9bd0a9 /pkgtools/perl-mk/Makefile | |
parent | af82b3856e08d89df38ecffd34ec38068a83ad4e (diff) | |
download | pkgsrc-d6c0d5882cac889fd7c897de0b4e4a1587866374.tar.gz |
* Make perl stop installing anything in the man3 directory. It's starting
to install things like "open.3" and "lib.3" which confuse users. Perl
ships with a documentation tool, "perldoc", for this purpose; create a
MESSAGE indicating that it should be used instead. (Perl still installs
command line program manual pages in man1.)
* Integrate bsd.perl.mk into the perl5-base build where it should have been
from the beginning. The separate perl-mk pkg makes binary packages of
perl-mk completely useless[*]. Older perl builders will not break, since
<bsd.pkg.mk> contains fallback definitions that are evaluated at pkg
build time.
=====
[*] bsd.perl.mk is tightly bound to the version of perl that is installed.
The version name "perl-mk-1.1" is completely useless as a binary pkg,
since keeping multiple binary versions of perl on a FTP server means
that one of the perl-mk's will get clobbered.
However, putting the current pkgsrc PERL5_DIST_VERS in the perl-mk pkg
is also a problem, because that doesn't necessarily reflect the
installed version of perl. Snarfing the installed version at perl-mk
build time would be even uglier, since you could not then walk the tree
without perl being installed.
The cleanest solution is to integrate bsd.perl.mk into the perl5-base
pkg, and let those who have not upgraded perl yet use the runtime
definitions in <bsd.pkg.mk>.
Diffstat (limited to 'pkgtools/perl-mk/Makefile')
-rw-r--r-- | pkgtools/perl-mk/Makefile | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/pkgtools/perl-mk/Makefile b/pkgtools/perl-mk/Makefile deleted file mode 100644 index ad146a0b13d..00000000000 --- a/pkgtools/perl-mk/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# $NetBSD: Makefile,v 1.3 2001/04/22 06:25:18 jlam Exp $ -# - -DISTNAME= perl-mk-1.1 -CATEGORIES= pkgtools -MASTER_SITES= # empty -DISTFILES= # empty - -MAINTAINER= wiz@netbsd.org -COMMENT= Note installed perl version for bsd.pkg.mk speedup - -# for backwards compatibility, and since we want to be included by the -# perl meta-package, we can't just use USE_PERL5 -DEPENDS+= perl-{5.0*,5.6.0nb[12],base-5.[6-9]*}:../../lang/perl5-base - -EXTRACT_ONLY= # empty -NO_CHECKSUM= # defined -NO_CONFIGURE= # defined -NO_PATCH= # defined -NO_BUILD= # defined - -DEINSTALL_FILE= ${WRKDIR}/DEINSTALL -INSTALL_FILE= ${WRKDIR}/INSTALL - -pre-install: - ${SED} -e "s|@RM@|${RM}|g" \ - ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE} - ${SED} -e "s|@RM@|${RM}|g" \ - -e "s|@PERL5@|${PERL5}|g" \ - ${PKGDIR}/INSTALL > ${INSTALL_FILE} - -# The argument to the INSTALL script is misnamed in this case. We are -# actually installing a bsd.perl.mk file, but we'd like to generate it at -# install-time to ensure that the values for the various PERL5_* variables -# are consistent with the installed Perl version. But there is no "INSTALL" -# target for the INSTALL script, so do the work in the "POST-INSTALL" target. -# -do-install: - PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL - -.include "../../mk/bsd.pkg.mk" |