FreeBSD Bugzilla – Attachment 12032 Details for
Bug 23450
The Porter's handbook doesn't say how to test for PREFIX-clean
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.31 KB, created by
mwm
on 2000-12-10 23:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
mwm
Created:
2000-12-10 23:00:01 UTC
Size:
1.31 KB
patch
obsolete
>--- /usr/doc/en_US.ISO_8859-1/books/porters-handbook/book.sgml Sat Nov 25 12:34:48 2000 >+++ book.sgml Sun Dec 10 16:49:00 2000 >@@ -3277,6 +3277,22 @@ > <makevar>PREFIX</makevar>, as this variable is automatically passed > down to every stage of the build and install processes.</para> > >+ <para>Make sure your application isn't installing things in >+ <filename>/usr/local</filename> instead of <makevar>PREFIX</makevar>. >+ A quick test for this is to do this is:</para> >+ >+ <screen>&prompt.root; <userinput>make clean; make package PREFIX=/var/tmp/<replaceable>port-name</replaceable></userinput></screen> >+ >+ <para>If anything is installed outside of <makevar>PREFIX</makevar>, >+ making the package creation process will complain that it >+ can't find the files.</para> >+ >+ <para>This does not test for the existence of internal references, >+ or correct use of <makevar>LOCALBASE</makevar> for references to >+ files from other ports. Testing the installation in >+ <filename>/var/tmp/<replaceable>port-name</replaceable></filename> >+ to do that that while you have it installed would do that.</para> >+ > <para>Do not set <makevar>USE_X_PREFIX</makevar> unless your port > truly requires it (i.e., it links against X libs or it needs to > reference files in <makevar>X11BASE</makevar>).</para>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 23450
: 12032