Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=29aab5dc11e13a5b44fd5ccf40783cb82354987d

commit 29aab5dc11e13a5b44fd5ccf40783cb82354987d
Author: Michel Hermier <[email protected]>
Date:   Tue Nov 20 07:40:26 2012 +0100

scripts/makepkg

* Introduce _P_options a general option list available for all the
packages, set to "options[*]" in compatibility mode.

diff --git a/scripts/makepkg b/scripts/makepkg
index 891d1e6..bcd1476 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -1015,9 +1015,11 @@ if [ ! -z "$subpkgs" ]; then
makedepends=( $makedepends )
fi

+# Compatibility adaptation
if [ "${#_P_package_names[@]}" -gt 0 ]; then
-       _P_package_names=("${pkgname}" "${subpkgs[@]}")
+       _P_options="${options[*]}"

+       _P_package_names=("${pkgname}" "${subpkgs[@]}")
_P_package_descriptions["${pkgname}"]="${pkgdesc}"
_P_package_licenses["${pkgname}"]="${license[*]}"
_P_package_replaces["${pkgname}"]="${replaces[*]}"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to