Bug 145655

Summary: Add an example to /usr/share/examples/etc/make.conf
Product: Documentation Reporter: Armin Pirkovitsch <armin>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
patch-examples-etc-make.txt none

Description Armin Pirkovitsch 2010-04-12 16:20:00 UTC
Add an useful example to make.conf to encourage people to look at make(1) to see what else is possible.

Fix: Patch attached with submission follows:
Comment 1 Doug Barton freebsd_committer freebsd_triage 2010-04-12 18:25:59 UTC
IMO it would be more useful to include a pointer to
ports/ports-mgmt/portconf.

Doug

-- 

	... and that's just a little bit of history repeating.
			-- Propellerheads

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/
Comment 2 Armin Pirkovitsch 2010-04-14 18:19:23 UTC
I would suggest to include it additional to the already proposed content
- that way people can choose whether to use a port or simply make.conf
  itself for it.

Armin
Comment 3 Doug Barton freebsd_committer freebsd_triage 2010-04-14 19:06:12 UTC
On 4/14/2010 10:19 AM, Armin Pirkovitsch wrote:
> On Mon 12 Apr 2010, Doug Barton wrote:
> 
>> IMO it would be more useful to include a pointer to
>> ports/ports-mgmt/portconf.
>>
>>
>> Doug
> 
> I would suggest to include it additional to the already proposed content
> - that way people can choose whether to use a port or simply make.conf
>   itself for it.

That's fine as long as the text doesn't become so confusing as to be
unhelpful. :)


Doug

-- 

	... and that's just a little bit of history repeating.
			-- Propellerheads

	Improve the effectiveness of your Internet presence with
	a domain name makeover!    http://SupersetSolutions.com/
Comment 4 Armin Pirkovitsch 2010-04-14 19:44:13 UTC
My suggestion would be the attached patch. However I'm not really the
person who writes great and/or understandable documentations.

Armin
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-07-25 21:21:52 UTC
Author: bcr (doc committer)
Date: Sun Jul 25 20:21:32 2010
New Revision: 210482
URL: http://svn.freebsd.org/changeset/base/210482

Log:
  Add an example to encourage people to have a look at either
  make(1) or /usr/ports/ports-mgmt/portconf for port-specific
  variables/options to compile a port.
  
  PR:		docs/145655
  Submitted by:	Armin Pirkovitsch (armin at frozen dash zone dot org)
  Discussed with:	dougb
  MFC after:	7 days

Modified:
  head/share/examples/etc/make.conf

Modified: head/share/examples/etc/make.conf
==============================================================================
--- head/share/examples/etc/make.conf	Sun Jul 25 20:08:07 2010	(r210481)
+++ head/share/examples/etc/make.conf	Sun Jul 25 20:21:32 2010	(r210482)
@@ -269,3 +269,14 @@
 # /etc/mail/Makefile.  Defaults to 0640.
 #
 #SENDMAIL_MAP_PERMS=
+#
+#
+# It is also possible to set variables in make.conf which will only be
+# used when compiling a specific port.  For more details see make(1).
+#
+#.if ${.CURDIR:M*/irc/irssi-devel*}
+#WITH_DEBUG=YES
+#.endif
+#
+# Another approach is to use /usr/ports/ports-mgmt/portconf which has
+# its own config file for port specific options.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 6 Benedict Reuschling freebsd_committer freebsd_triage 2010-07-25 21:36:12 UTC
State Changed
From-To: open->patched

A patch was committed to HEAD, waiting for MFC until closing this PR.
Comment 7 dfilter service freebsd_committer freebsd_triage 2010-08-01 12:12:56 UTC
Author: bcr (doc committer)
Date: Sun Aug  1 11:12:42 2010
New Revision: 210728
URL: http://svn.freebsd.org/changeset/base/210728

Log:
  MFC r210482:
  
  Add an example to encourage people to have a look at either
  make(1) or /usr/ports/ports-mgmt/portconf for port-specific
  variables/options to compile a port.
  
  PR:                 docs/145655
  Submitted by:       Armin Pirkovitsch (armin at frozen dash zone dot org)
  Discussed with:     dougb

Modified:
  stable/8/share/examples/etc/make.conf
Directory Properties:
  stable/8/share/examples/etc/   (props changed)

Modified: stable/8/share/examples/etc/make.conf
==============================================================================
--- stable/8/share/examples/etc/make.conf	Sun Aug  1 11:09:14 2010	(r210727)
+++ stable/8/share/examples/etc/make.conf	Sun Aug  1 11:12:42 2010	(r210728)
@@ -270,3 +270,14 @@
 # /etc/mail/Makefile.  Defaults to 0640.
 #
 #SENDMAIL_MAP_PERMS=
+#
+#
+# It is also possible to set variables in make.conf which will only be
+# used when compiling a specific port.  For more details see make(1).
+#
+#.if ${.CURDIR:M*/irc/irssi-devel*}
+#WITH_DEBUG=YES
+#.endif
+#
+# Another approach is to use /usr/ports/ports-mgmt/portconf which has
+# its own config file for port specific options.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 8 Benedict Reuschling freebsd_committer freebsd_triage 2010-08-01 12:23:31 UTC
State Changed
From-To: patched->closed

MFC is done, PR closed. Thanks!