mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-10 07:11:39 +00:00
Don't set package-group as a PACKAGE_TYPE.
Since package groups can theoretically now be installed as native:package-group as well, make PACKAGE_TYPE only ever have a value of "target" or "native". For a native install it's important we transform the names of all dependencies to have the native: prefix. It doesn't matter if we uselessly set PACKAGE_INSTALL_DIR and PACKAGE_BUILD_DIR for a package group anyway, since they're not used anyway.
This commit is contained in:
parent
4dce741959
commit
fb728473c9
2 changed files with 0 additions and 3 deletions
|
@ -111,8 +111,6 @@ configure_for_package() {
|
|||
# necessarily native as well.
|
||||
DEPENDENCIES=$(dependencies_for_native)
|
||||
;;
|
||||
package-group)
|
||||
;;
|
||||
*)
|
||||
error_exit "Unknown package type $PACKAGE_TYPE"
|
||||
;;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
package_group::init() {
|
||||
PACKAGE_TYPE=package-group
|
||||
dependencies "$@"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue