$NetBSD: patch-library_pkgin,v 1.2 2013/04/13 17:51:57 riz Exp $

--- library/pkgin.orig	2013-03-30 16:29:28.000000000 -0700
+++ library/pkgin	2013-04-13 09:36:29.000000000 -0700
@@ -118,7 +118,7 @@
                 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, ['@LOCALBASE@/bin'])
 
     p = module.params
 
