path: root/release/packages/gdb.ucl
diff options
authorGlen Barber <gjb@FreeBSD.org>2016-02-04 15:32:03 +0000
committerGlen Barber <gjb@FreeBSD.org>2016-02-04 15:32:03 +0000
commit5c52b2f5ca1b5b922f322f23dc27ea2362deabdd (patch)
treeb2cc400eea676f2898c9855900556d6f39d5b1f8 /release/packages/gdb.ucl
parentb3075f337b9ec70bc1ce7fdbe0258849d797e21e (diff)
Rework the way <packagename>.ucl files are generated.
One of the major pain points with how this was implemented is the requirement of in-tree, hard-coded <name>.ucl, as well as <name>-<suffix>.ucl where <suffix> can be lib32, profile, development, debug, or any combination of the four. This created significant overhead when adding new packages and any of the files in any of the combinations were missing. Instead of test(1)-ing if the <packagename>.ucl file exists, hand off to a script to figure out what the final ucl file name should be before invoking pkg(8). The default behavior is 'template.ucl' is used as a fallback. This affects only the userland packages, as the kernel code is already smart enough to handle these variations. Sponsored by: The FreeBSD Foundation
Notes: svn path=/projects/release-pkg/; revision=295262
Diffstat (limited to 'release/packages/gdb.ucl')
1 files changed, 2 insertions, 2 deletions
diff --git a/release/packages/gdb.ucl b/release/packages/gdb.ucl
index c62b0e0b21e4..bd401ec2f7fd 100644
--- a/release/packages/gdb.ucl
+++ b/release/packages/gdb.ucl
@@ -1,7 +1,7 @@
name = "FreeBSD-%PKGNAME%"
origin = "base"
version = "%VERSION%"
-comment = "GNU gdb"
+comment = "%COMMENT%"
categories = [ base ]
maintainer = "re@FreeBSD.org"
www = "https://www.FreeBSD.org"
@@ -12,7 +12,7 @@ desc = <<EOD
deps: {
- FreeBSD-runtime: {
+ FreeBSD-%PKGDEPS%: {
origin: "base",
version: "%VERSION%"