Added support for build_style=perl_module. That means that perl modules
now work on pkgfs. While doing this work I added some new variables that can be used in templates: run_stuff_before="<stage>" run_stuff_after="<stage>" run_stuff_before_<stage>_file run_stuff_after_<stage>_file These can be used in a template when you need to do some stuff before or after the stage specified, and the file will be read and the commands on it executed. Now that finally perl modules work, add the following templates: intltool-0.40.4 and perl-XML-Parser-2.36. Also mktmpl.sh has been updated to understand build_style=perl_module. ENJOY! --HG-- extra : convert_revision : 53c5148f1ba703e2b5af6e43f71668aac54a37d2
This commit is contained in:
parent
0220b27822
commit
0fdfc94802
12 changed files with 273 additions and 45 deletions
12
templates/perl-runstuff-after-install.sh
Executable file
12
templates/perl-runstuff-after-install.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
# Fixup Config.pm to look at PKGFS_MASTERDIR, this helps modules
|
||||
# to use correct dirs while building/installing them.
|
||||
|
||||
perl_version=5.10.0
|
||||
perl_arch=$(uname -m)
|
||||
perl_libdir=$PKGFS_DESTDIR/$pkgname/lib/perl5
|
||||
config_pm=$perl_libdir/$perl_version/$perl_arch-netbsd-thread-multi/Config.pm
|
||||
|
||||
$sed_cmd -e "s|$PKGFS_DESTDIR\/$pkgname|$PKGFS_MASTERDIR|g" \
|
||||
$config_pm > $config_pm.in
|
||||
$chmod_cmd 444 $config_pm.in
|
||||
$mv_cmd -f $config_pm.in $config_pm
|
Loading…
Add table
Add a link
Reference in a new issue