Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 1997 00:19:14 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        scott@statsci.com
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: how to handle compiled in paths? 
Message-ID:  <20201.870333554@time.cdrom.com>
In-Reply-To: Your message of "Wed, 30 Jul 1997 20:27:53 PDT." <199707310327.UAA01673@one.sabami.seaslug.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I was just noticing something with my nmh port...it seems that the prefix is 
> compiled into the binaries, so if you make a package out of it, you can't
> retarget the prefix with the pkg_add -p option (without recompilation, which
> kind of defeats the purpose of the package & its -p option).  How is this
> kind of stuff normally handled?

You repeat the @cwd line twice at the top of the package's PLIST,
"stapling" it to the canned prefix and preventing a -p override.  Not
every user's desire, of course, this still at least ensures that
what's installed will work and is probably the best that can be done
under the circumstances.

						Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201.870333554>