docs/178073: [patch][porters-handbook]: add pkgconfig to USES, and drop USE_PKGCONFIG

Jason Helfman jgh at FreeBSD.org
Tue Apr 23 06:50:00 UTC 2013


>Number:         178073
>Category:       docs
>Synopsis:       [patch][porters-handbook]: add pkgconfig to USES, and drop USE_PKGCONFIG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 23 06:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Helfman
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r249172: Sat Apr 6 00:40:01 UTC 2013 peter at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL amd64


	
>Description:
add USES= pkgconfig to handbook, and drop USE_PKGCONFIG
>How-To-Repeat:
	
>Fix:

Index: porters-handbook/book.xml
===================================================================
--- porters-handbook/book.xml	(revision 41472)
+++ porters-handbook/book.xml	(working copy)
@@ -5775,52 +5775,6 @@
       </sect2>
     </sect1>
 
-    <sect1 id="using-pkg-config">
-      <title>Using <literal>pkg-config</literal></title>
-
-      <para>If your ports requires <literal>pkg-config</literal>,
-	just set <makevar>USE_PKGCONFIG</makevar> to the following
-	possible values:</para>
-      <table frame="none">
-	<title>Values for <makevar>USE_PKGCONFIG</makevar></title>
-
-	<tgroup cols="2">
-	  <thead>
-	    <row>
-	      <entry>Definition</entry>
-	      <entry>Description</entry>
-	    </row>
-	  </thead>
-
-	  <tbody>
-	    <row>
-	      <entry><makevar>USE_PKGCONFIG= yes</makevar></entry>
-	      <entry>The ports uses pkg-config only at build
-		time</entry>
-	    </row>
-
-	    <row>
-	      <entry><makevar>USE_PKGCONFIG= build</makevar></entry>
-	      <entry>The ports uses pkg-config only at build
-		time</entry>
-	    </row>
-
-	    <row>
-	      <entry><makevar>USE_PKGCONFIG= run</makevar></entry>
-	      <entry>The ports uses pkg-config only at run
-		time</entry>
-	    </row>
-
-	    <row>
-	      <entry><makevar>USE_PKGCONFIG= both</makevar></entry>
-	      <entry>The ports uses pkg-config both at build and run
-		time</entry>
-	    </row>
-	  </tbody>
-	</tgroup>
-      </table>
-    </sect1>
-
     <sect1 id="using-gettext">
       <title>Using GNU <literal>gettext</literal></title>
 
Index: porters-handbook/uses.xml
===================================================================
--- porters-handbook/uses.xml	(revision 41472)
+++ porters-handbook/uses.xml	(working copy)
@@ -72,6 +72,19 @@
 </row>
 
 <row>
+  <entry><literal>pkgconfig</literal></entry>
+  <entry>none, <literal>build</literal>, <literal>run</literal>,
+    <literal>both</literal></entry>
+  <entry>Implies that the port uses <filename
+      role="package">devel/pkgconf</filename> in one way or another.  By
+    default, with no arguments or with the <literal>build</literal>
+    argument, it implies <command>pkg-config</command> as a build-time
+    dependency, <literal>run</literal> implies a run-time dependency,
+    and <literal>both</literal> implies both run-time and build-time
+    dependencies.</entry>
+</row>
+
+<row>
   <entry><literal>qmail</literal></entry>
   <entry>none, <literal>build</literal>, <literal>run</literal>,
     <literal>both</literal>, <literal>vars</literal></entry>
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-doc mailing list