Hi Mark,
I'm hitting this on Mac OS X in a top of tree dev branch build...
find $DIST_ROOT -name .packlist -exec mv '{}' ../../../perl-pcp-pmda.list ';'
sed -e s@$DIST_ROOT@@ -e 's/\.[0-9]pm$/&.gz/' -i ../../../perl-pcp-pmda.list
sed: -i may not be used with stdin
make[4]: *** [install] Error 1
make[3]: *** [install] Error 2
make[2]: *** [install_pcp] Error 2
make[1]: *** [install_pcp] Error 2
make: *** [pack_pcp] Error 2
Doesn't really make sense to me, since its not being asked to use stdin.
Oh, wait, there's the problem - on Mac (and I assume *BSD) the -i option
has a mandatory argument (while with GNU tools it seems its optional).
Something like this works on Mac:
sed -e s@$DIST_ROOT@@ -e 's/\.[0-9]pm$/&.gz/' -itmp ../../../perl-pcp-pmda.list
With that and the strndup change, builds & packaging look OK on Mac & Windows.
cheers.
--
Nathan
|