pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

perl5 work-directory references on netbsd-7



All,

a lang/perl5 build on netbsd-7 breaks with

[...]
=> Checking for work-directory references in perl-5.30.0
ERROR: /usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/CORE/config.h: #define LOC_SED "/var/obj/pkgsrc/lang/perl5/work/.tools/bin/sed" /**/ ERROR: /usr/pkg/lib/perl5/5.30.0/x86_64-netbsd-thread-multi/Config_heavy.pl: full_sed='/var/obj/pkgsrc/lang/perl5/work/.tools/bin/sed'
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
[...]

The pkg Makefile tries to prevent that from

[...]
# Perl embeds the full paths to the following tools in several installed
# files, so make sure the paths to the ones in ${TOOLS_DIR} aren't used.
#
USE_TOOLS+=		hostname ln rm sed test
SUBST_VARS.policysh+=	TOOLS_HOSTNAME_CMD
SUBST_VARS.policysh+=	TOOLS_LN
TOOLS_ALIASES.sed+=	${TOOLS_SED:T}
SUBST_VARS.policysh+=	TOOLS_SED
[...]

but apparently it is not good enough?

Cheerio,
hauke

--
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email	        Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-21344


Home | Main Index | Thread Index | Old Index