Extend gnu symlink functionality

This makes the gnu symlink functionality an integrated part of the
install function.
The interface is now the variable gnu_link_progs which when defined
triggers the automatic symlinking.
This commit is contained in:
Tom G. Christensen
2013-01-27 13:39:22 +01:00
parent 1b0d55ddd0
commit a9fed27639
2 changed files with 23 additions and 8 deletions

View File

@@ -80,7 +80,7 @@ _mandir=share/man
_infodir=share/info
# Default configure args
configure_args='--prefix=$prefix --mandir=${prefix}/${_mandir} --infodir=${prefix}/${_infodir}'
configure_args='${gnu_link_progs:+--program-prefix=$gnu_prefix} --prefix=$prefix --mandir=${prefix}/${_mandir} --infodir=${prefix}/${_infodir}'
# Host specific configuration
[ -r $buildpkgscripts/config.`hostname`.solaris ] && . $buildpkgscripts/config.`hostname`.solaris