16 lines
597 B
Plaintext
16 lines
597 B
Plaintext
$NetBSD: patch-library_packaging_pkgin,v 1.2 2014/06/15 00:15:08 rodent Exp $
|
|
|
|
Fix hardcoded paths to be replaced with SUBST framework.
|
|
|
|
--- library/packaging/pkgin.orig 2014-06-09 21:23:31.000000000 +0000
|
|
+++ library/packaging/pkgin
|
|
@@ -150,7 +150,7 @@ def main():
|
|
state = dict(default="present", choices=["present","absent"]),
|
|
name = dict(aliases=["pkg"], required=True)))
|
|
|
|
- pkgin_path = module.get_bin_path('pkgin', True, ['/opt/local/bin'])
|
|
+ pkgin_path = module.get_bin_path('pkgin', True, ['@PREFIX@/bin'])
|
|
|
|
p = module.params
|
|
|