svn commit: r302880 - head/Mk

Beat Gaetzi beat at FreeBSD.org
Tue Aug 21 17:29:12 UTC 2012


Author: beat
Date: Tue Aug 21 17:29:11 2012
New Revision: 302880
URL: http://svn.freebsd.org/changeset/ports/302880

Log:
  - Record the selected OPTIONS from the port build into the resulting
    +CONTENTS file.
  
  PR:		ports/170469
  Submitted by:	bdrewery@
  Tested by:	exp-run on pointyhat

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Tue Aug 21 17:17:46 2012	(r302879)
+++ head/Mk/bsd.port.mk	Tue Aug 21 17:29:11 2012	(r302880)
@@ -5692,6 +5692,7 @@ generate-plist:
 .endif
 .endif
 .endif
+	@cd ${.CURDIR} && { ${MAKE} pretty-print-config | fold -sw 120 | ${SED} -e 's/^/@comment OPTIONS:/'; } >> ${TMPPLIST}
 .endif
 
 ${TMPPLIST}:



More information about the svn-ports-all mailing list