perl: needs groff and less to build, added patch to use pwd from busybox.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user