xbps-src: re-introduce etc/virtual.
The `etc/virtual` file declares the default package to be built for virtual dependencies declared as "virtual?foo" in $depends. Before this change, the run-time dependency was added as is to the final binary package but no pkg providing this virtual pkg was built. With this file we declare the *default* pkg to be built. NOTE: "virtual?foo" is only applicable to *run* time dependencies, i.e only those declared in $depends.
This commit is contained in:
parent
78c601e18e
commit
d2bac19750
4 changed files with 248 additions and 173 deletions
27
etc/defaults.virtual
Normal file
27
etc/defaults.virtual
Normal file
|
@ -0,0 +1,27 @@
|
|||
# --*-- shell --*--
|
||||
#
|
||||
# etc/defaults.virtual
|
||||
# default configuration of etc/virtual
|
||||
#
|
||||
# DO NOT EDIT THIS FILE DIRECTLY; IT MAY BE REPLACED DURING UPDATES,
|
||||
# EDIT etc/virtual INSTEAD.
|
||||
#
|
||||
# This file specifies a mapping between virtual packages and real packages
|
||||
# available in the source packages collection (srcpkgs).
|
||||
#
|
||||
# The format uses 2 arguments delimited by a blank: <vpkgname> <realpkgname>
|
||||
#
|
||||
# When building a package with "xbps-src", those dependencies declared like
|
||||
# "virtual?foo" will use the replacement package defined in `etc/virtual`.
|
||||
#
|
||||
# NOTE: this mapping is only there to be able to build a default package
|
||||
# to resolve the virtual package dependency later on with xbps-install(1).
|
||||
#
|
||||
# NOTE: Create your own etc/virtual file to override these defaults.
|
||||
|
||||
awk gawk
|
||||
java-environment openjdk
|
||||
java-runtime openjdk-jre
|
||||
ntp-daemon chrony
|
||||
xserver-abi-input xorg-server
|
||||
xserver-abi-video xorg-server
|
Loading…
Add table
Add a link
Reference in a new issue