Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 20:00:59 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r235928 - head/share/mk
Message-ID:  <201205242000.q4OK0xLu057481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Thu May 24 20:00:58 2012
New Revision: 235928
URL: http://svn.freebsd.org/changeset/base/235928

Log:
  Fix an inconsistency I just ran into for LDADD and DPADD. The description
  for both of them use different, and presumably wrong, variables in the
  example. They set LDFILES and SRCLIB respectively. I guess that's what
  DPADD and LDADD were called first ...

Modified:
  head/share/mk/bsd.README

Modified: head/share/mk/bsd.README
==============================================================================
--- head/share/mk/bsd.README	Thu May 24 19:48:15 2012	(r235927)
+++ head/share/mk/bsd.README	Thu May 24 20:00:58 2012	(r235928)
@@ -228,7 +228,7 @@ LDADD		Additional loader objects.  Usual
 		For example, to load with the compatibility and utility
 		libraries, use:
 
-			LDFILES=-lutil -lcompat
+			LDADD=-lutil -lcompat
 
 LDFLAGS		Additional loader flags.
 
@@ -261,7 +261,7 @@ DPADD		Additional dependencies for the p
 		libraries.  For example, to depend on the compatibility and
 		utility libraries use:
 
-			SRCLIB=${LIBCOMPAT} ${LIBUTIL}
+			DPADD=${LIBCOMPAT} ${LIBUTIL}
 
 		There is a predefined identifier for each (non-profiled,
 		non-shared) library and object.  Library file names are



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205242000.q4OK0xLu057481>