aportgen/binutils: set pmOS bugurl
Alpine recently set the bugurl to the Alpine Linux issue tracker. When
rewriting the APKBUILD for cross compiling in postmarketOS, change it
to https://postmarketos.org/issues.
Related: fe73f3a28c
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230522065220.2841-4-ollieparanoid@postmarketos.org%3E
This commit is contained in:
parent
6276b2dc68
commit
0c81679677
|
@ -19,10 +19,15 @@ def generate(args, pkgname):
|
||||||
"pkgname": pkgname,
|
"pkgname": pkgname,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
replace_simple = {
|
||||||
|
"*--with-bugurl=*": "\t\t--with-bugurl=\"https://postmarketos.org/issues\" \\"
|
||||||
|
}
|
||||||
|
|
||||||
below_header = """
|
below_header = """
|
||||||
CTARGET_ARCH=""" + arch + """
|
CTARGET_ARCH=""" + arch + """
|
||||||
CTARGET="$(arch_to_hostspec $CTARGET_ARCH)"
|
CTARGET="$(arch_to_hostspec $CTARGET_ARCH)"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
pmb.aportgen.core.rewrite(args, pkgname, "main/binutils", fields,
|
pmb.aportgen.core.rewrite(args, pkgname, "main/binutils", fields,
|
||||||
"binutils", below_header=below_header)
|
"binutils", replace_simple=replace_simple,
|
||||||
|
below_header=below_header)
|
||||||
|
|
Loading…
Reference in New Issue