Prev: kde4.4.4 update failures with kdelibs4 & kdepim4
Next: graphics/png does not compile with gcc 4.5.1
From: Chris Rees on 29 Jun 2010 10:52 Dear All, >From bsd.port.mk: [chris(a)amnesiac]~% head /usr/ports/Mk/bsd.port.mk |tail -n 1 # Please view me with 4 column tabs! [chris(a)amnesiac]~% However, the Porter's Handbook [1] says: Note that [bsd.port.mk] uses a non-standard tab setting. So if it's non-standard, does that mean I should use 8-column tabs while creating/editing port Makefiles, or should I match the 'non-standard' bsd.port.mk? Or is it just personal preference and the committers don't care? Chris [1] http://www.freebsd.org/doc/en/books/porters-handbook/own-port.html _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Peter Pentchev on 29 Jun 2010 11:11 On Tue, Jun 29, 2010 at 03:52:56PM +0100, Chris Rees wrote: > Dear All, > > >From bsd.port.mk: > > [chris(a)amnesiac]~% head /usr/ports/Mk/bsd.port.mk |tail -n 1 > # Please view me with 4 column tabs! > [chris(a)amnesiac]~% > > However, the Porter's Handbook [1] says: > > Note that [bsd.port.mk] uses a non-standard tab setting. > > So if it's non-standard, does that mean I should use 8-column tabs > while creating/editing port Makefiles, or should I match the > 'non-standard' bsd.port.mk? > > Or is it just personal preference and the committers don't care? Uhm, the standard width of a horizontal tab is 8 characters. Thus, bsd.port.mk's 4 characters *are* non-standard; when writing your own ports, use an eight-character tab like the rest of the world ;) Oh, my coat? Nah, I'll get it myself, an asbestos suit is too heavy for most people to lift anyway. G'luck, Peter -- Peter Pentchev roam(a)space.bg roam(a)ringlet.net roam(a)FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence contains exactly threee erors.
From: Doug Barton on 29 Jun 2010 11:10 On Tue, 29 Jun 2010, Chris Rees wrote: > Dear All, > >> From bsd.port.mk: > > [chris(a)amnesiac]~% head /usr/ports/Mk/bsd.port.mk |tail -n 1 > # Please view me with 4 column tabs! > [chris(a)amnesiac]~% > > However, the Porter's Handbook [1] says: > > Note that [bsd.port.mk] uses a non-standard tab setting. > > So if it's non-standard, does that mean I should use 8-column tabs > while creating/editing port Makefiles Yes, please use standard tabs for all ports Makefiles. hth, Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Chris Rees on 29 Jun 2010 11:14 Thanks for all your advice! -------- Sorry for top-posting, Android won't let me quote. There's a bug report on it! On 29 Jun 2010 16:12, "Doug Barton" <dougb(a)freebsd.org> wrote: On Tue, 29 Jun 2010, Chris Rees wrote: > Dear All, > >> From bsd.port.mk: > > > [chris(a)amnesiac]~% ... Yes, please use standard tabs for all ports Makefiles. hth, Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ Computers are useless. They can only give you answers. -- Pablo Picasso _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Pages: 1 Prev: kde4.4.4 update failures with kdelibs4 & kdepim4 Next: graphics/png does not compile with gcc 4.5.1 |