I'm currently building OpenPKG CURRENT on RHEL4, found a minor issue with the perl:
The way the "libdirs" assignment is done causes a leading space to get added to the contents. This appears to be enough to break the "perl -v" and "perl -V" output (in this case, it reports the Perl details from the RHEL4 package, ie. the libs from /usr/lib/perl). I fixed it by changing this: for dir in %{l_prefix}/lib /lib64 /usr/lib64 /lib /usr/lib /usr/ccs/lib; do [ -d $dir ] && libdirs="$libdirs $dir" done to this: for dir in %{l_prefix}/lib /lib64 /usr/lib64 /lib /usr/lib /usr/ccs/lib; do [ -d $dir ] && libdirs="${libdirs}${dir} " done