Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163196546
D18682.id52397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D18682.id52397.diff
View Options
Index: share/man/man7/ports.7
===================================================================
--- share/man/man7/ports.7
+++ share/man/man7/ports.7
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 20, 2018
+.Dd December 29, 2018
.Dt PORTS 7
.Os
.Sh NAME
@@ -512,11 +512,6 @@
.It Va WITH_DEBUG_PORTS
A list of origins for which to set
.Va WITH_DEBUG_PORTS .
-.It Va WITH_SSP_PORTS
-.Pq Vt bool
-If set, enables
-.Fl fstack-protector
-for most ports.
.It Va WITH_GHOSTSCRIPT_VER
If set, the version of ghostscript to be used by ports.
.It Va WITH_CCACHE_BUILD
@@ -537,11 +532,32 @@
The big Kahuna.
.El
.Sh EXAMPLES
-Build and install Emacs:
-.Bd -literal -offset indent
-cd /usr/ports/editors/emacs
-make install
+.Bl -tag -width 0n
+.It Sy Example 1\&: No Building and Installing a Port
+.Pp
+The following command builds and installs Emacs.
+.Bd -literal -offset 2n
+.Li # Ic cd /usr/ports/editors/emacs
+.Li # Ic make install
.Ed
+.It Sy Example 2\&: No Installing Dependencies with Xr pkg 8
+.Pp
+The following command builds and installs a port while not building its
+dependencies.
+Instead, they are downloaded via
+.Xr pkg 8 .
+.Bd -literal -offset 2n
+.Li # Ic make -DWITH_PACKAGE_DEPENDS install
+.Ed
+.Pp
+It is especially useful, when the dependencies are costly
+in time and resources to build
+.Pq like Pa lang/rust .
+The drawback is that
+.Xr pkg 8
+offers only packages built with the default set of
+.Va OPTIONS .
+.El
.Sh SEE ALSO
.Xr make 1 ,
.Xr make.conf 5 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 21, 11:20 PM (5 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35337196
Default Alt Text
D18682.id52397.diff (1 KB)
Attached To
Mode
D18682: ports.7: Add an example of getting dependencies without building
Attached
Detach File
Event Timeline
Log In to Comment