Index: Makefile =================================================================== --- Makefile (revision 41102) +++ Makefile (working copy) @@ -20,6 +20,7 @@ # XML content SRCS= book.xml +SRCS+= uses.xml # Use the local DSSSL file DSLHTML?= ${.CURDIR}/freebsd.dsl Index: book.xml =================================================================== --- book.xml (revision 41102) +++ book.xml (working copy) @@ -3,14 +3,22 @@ "../../../share/xml/freebsd42.dtd" [ %entities; -]> + + + + +]]> + +]> + FreeBSD Porter's Handbook @@ -3772,6 +3780,20 @@ is the same as DEPENDS_TARGET. + + <makevar>USES</makevar> + + There several parameters exist for defining different kind + of features and dependencies that the port in question uses. + They can be specified by adding the following line to the + Makefile of the port: + + USES= feature[:arguments] + + For the complete list of such values, please see . + + <makevar>USE_<replaceable>*</replaceable></makevar> @@ -16840,4 +16862,28 @@ about creating has already been submitted. + + + Appendices + + + Values of <makevar>USES</makevar> + + + Values of <makevar>USES</makevar> + + + + Feature + Arguments + Description + + + + &values.uses; + + +
+
+
Index: uses.xml =================================================================== --- uses.xml (revision 0) +++ uses.xml (working copy) @@ -0,0 +1,8 @@ + + pathfix + none + Look for the Makefile.in and + configure files in the port's associated + sources and fix common paths to make sure they respect the &os; + hierarchy. +