More changes to {pre,post}_<stage> stuff.

Rather than using a file for stuff like this, change them to be
functions in templates. Now if any template want to use them, it
can specify for example a {pre,post}_<stage>() shell function.

Also remove some NetBSD specific stuff that is not useful anymore.

--HG--
extra : convert_revision : b7157c61c92c05904e0e4d971268e5f018db46bc
This commit is contained in:
Juan RP 2008-10-27 06:12:30 +01:00
parent aca77c9284
commit e9231b5999
30 changed files with 168 additions and 712 deletions

View file

@ -17,3 +17,9 @@ long_desc="
build_depends="perl-5.10.0 nasm-2.05"
run_depends="glibc-2.8"
pre_configure()
{
# Disable this file which causes an error.
sed -i -e 's|win32/syslinux.exe||g' $wrksrc/Makefile
}