54bbdb42f3
do not print "OpenBSD 5.0" but "OpenBSD ports". While here, remove some noise from the groff build log. Bump the groff package. Technically, this changes the contents of all packages that USE_GROFF, but please refrain from bumping the world: Having "OpenBSD 5.0" in the footers of some ports manual until they are updated the next time, or until the next libc bump if they aren't, is not a real problem. string "OpenBSD ports" suggested and patch ok'ed by sthen@
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
$OpenBSD: patch-contrib_hdtbl_examples_common_roff,v 1.2 2012/05/28 13:23:28 schwarze Exp $
|
|
--- contrib/hdtbl/examples/common.roff.orig Fri Dec 31 08:33:09 2010
|
|
+++ contrib/hdtbl/examples/common.roff Sun May 27 12:41:37 2012
|
|
@@ -64,9 +64,8 @@ along with this program. If not, see <http://www.gnu.o
|
|
.\" ** standard form of the Unix date-command, **
|
|
.\" ** for example "Sun Dec 5 22:27:57 2004" **
|
|
.\" ******************************************************************
|
|
+.\" deactivated to avoid noise in the build logs
|
|
.de date
|
|
-. pso bash -c "echo -n .ds *date\ ;date"
|
|
-. tm \\*[*date] ***
|
|
..
|
|
.
|
|
.
|
|
@@ -79,16 +78,8 @@ along with this program. If not, see <http://www.gnu.o
|
|
.\" ** reg *time gets the difference of the **
|
|
.\" ** end- and start-time (seconds) **
|
|
.\" ******************************************************************
|
|
+.\" deactivated to avoid noise in the build logs
|
|
.de time
|
|
-. ds * \\$1\"
|
|
-. substring * 0 0
|
|
-. ie "\\*[*]"s" \
|
|
-. pso bash -c "echo -n .nr *time 0+;date +%s"
|
|
-. el \{\
|
|
-. pso bash -c "echo -n .nr *time -;date +%s"
|
|
-. nr *time 0-\\n[*time]
|
|
-. tm elapsed time: \\n[*time] seconds
|
|
-. \}
|
|
..
|
|
.
|
|
.
|