perl: needs groff and less to build, added patch to use pwd from busybox.
This commit is contained in:
parent
8f155243ac
commit
c12a5b3b16
|
@ -0,0 +1,10 @@
|
|||
--- cpan/Cwd/Cwd.pm.orig 2010-12-17 13:34:47.987072114 +0100
|
||||
+++ cpan/Cwd/Cwd.pm 2010-12-17 13:35:14.474647252 +0100
|
||||
@@ -336,6 +336,7 @@ $METHOD_MAP{NT} = $METHOD_MAP{MSWin32};
|
||||
my $pwd_cmd;
|
||||
foreach my $try ('/bin/pwd',
|
||||
'/usr/bin/pwd',
|
||||
+ '/usr/local/bin/pwd',
|
||||
'/QOpenSys/bin/pwd', # OS/400 PASE.
|
||||
) {
|
||||
|
|
@ -23,12 +23,14 @@ Add_dependency run gdbm
|
|||
Add_dependency run libdb
|
||||
Add_dependency build gdbm-devel
|
||||
Add_dependency build db-devel
|
||||
Add_dependency build less
|
||||
Add_dependency build groff
|
||||
|
||||
do_build()
|
||||
{
|
||||
./Configure \
|
||||
-des -Dusethreads -Duseshrplib \
|
||||
-Dinstallprefix=/usr \
|
||||
-Dinstallprefix=${DESTDIR}/usr \
|
||||
-Dprefix=/usr -Dvendorprefix=/usr \
|
||||
-Dprivlib=/usr/share/perl5/core_perl \
|
||||
-Darchlib=/usr/lib/perl5/core_perl \
|
||||
|
@ -39,8 +41,7 @@ do_build()
|
|||
-Dscriptdir=/usr/lib/perl5/core_perl/bin \
|
||||
-Dsitescript=/usr/lib/perl5/site_perl/bin \
|
||||
-Dvendorscript=/usr/lib/perl5/vendor_perl/bin \
|
||||
-Dinc_version_list=none \
|
||||
-Dman1ext=1p -Dman3ext=3p \
|
||||
-Dinc_version_list=none -Dman1ext=1p -Dman3ext=3p \
|
||||
-Dcccdlflags="-fPIC" -Doptimize="${XBPS_CFLAGS}"
|
||||
|
||||
make ${makejobs}
|
||||
|
@ -49,7 +50,7 @@ do_build()
|
|||
do_install()
|
||||
{
|
||||
# We use the same defaults than Arch Linux.
|
||||
make DESTDIR=${DESTDIR} install || return 1
|
||||
make install
|
||||
|
||||
# Make a link from perl${version} to perl.
|
||||
cd ${DESTDIR}/usr/bin && ln -sf perl${version} perl
|
||||
|
|
Loading…
Reference in New Issue