[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proposed patch to porttest.html



the attached patch adds a few pieces of information to porttest.html:

	- CC, CFLAGS, and LOCALBASE testing
	- *_DEPENDS testing and how to check it

just trying to ensure that this page contains all the needed info.

___________________________
jose nazario, ph.d.			jose@monkey.org
					http://www.monkey.org/~jose/
Index: porttest.html
===================================================================
RCS file: /cvs/www/porttest.html,v
retrieving revision 1.14
diff -u -r1.14 porttest.html
--- porttest.html	2002/11/24 17:08:44	1.14
+++ porttest.html	2003/02/04 17:05:50
@@ -73,6 +73,10 @@
     to copy the port to <tt>mystuff/</tt> and apply the diff to prevent tree
     breakage.</p>
 
+    <p>Dependency handling is easily verified by removing the stated
+    dependencies and ensuring the port insists they be installed before
+    the appropriate stage is attempted.</p>
+
     <p>Step-by-step building is needed to verify that every target, see 
     <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ports&amp;sektion=7&amp;";>
     ports(7)</a>, is achieved correctly :</p>
@@ -83,6 +87,8 @@
          <li>Needed to verify that distfile(s) are correctly downloaded. Try
          to test all of the <tt>MASTER_SITES</tt> specified to make sure they
          are all valid sources.</li>
+	 <li>If there are any <tt>FETCH_DEPENDS</tt> make sure that they are
+	 correctly handled.
         </ul>
 
       <li><i>checksum</i>
@@ -107,6 +113,8 @@
 
       <li><i>configure</i>
         <ul>
+	 <li>Check to ensure that <tt>BUILD_DEPENDS</tt> are correctly
+	     handled. This includes GNU Bison, for example.
          <li>Check that configure scripts correctly detect features
              on your platform.
          <li>GNU libtool is notorious for undesired 'features' on OpenBSD,
@@ -128,11 +136,14 @@
          <li>Try to set the <tt>SEPARATE_BUILD</tt> variable to 'concurrent'
          and test if the build still works.
          <li>Make sure dependencies on GNU make are really necessary.
+	 <li>Test for the system respecting the CC and CFLAGS settings by
+	 setting them to arbitrary values.
         </ul>
 
       <li><i>regress</i>
         <ul>
           <li>Check for errors (empty tests means okay).
+	  <li>Check for correct dependency handling.
         </ul>
 
 
@@ -143,6 +154,8 @@
          without affecting the base system.
          <li>The port should <b>never</b> install files outside of the
          fake directory (such as into <tt>/usr/local</tt>).
+	 <li>Ensure that the port respects the <tt>LOCALBASE</tt> variable
+	 by setting it to something other than the default.
          <li>GNU libtool occasionally has trouble relinking libraries
          during the fake process on some architectures.
         </ul>