Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 23:18:11 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275692 - head/share/termcap
Message-ID:  <201412102318.sBANIBTk083327@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Dec 10 23:18:11 2014
New Revision: 275692
URL: https://svnweb.freebsd.org/changeset/base/275692

Log:
  Fix building termcap.db when make obj is run beforehand from a clean tree by
  using make variables for the filenames, which helps resolve pathing
  appropriately when running cap_mkdb
  
  X-MFC with: r275687
  Pointyhat to: me

Modified:
  head/share/termcap/Makefile

Modified: head/share/termcap/Makefile
==============================================================================
--- head/share/termcap/Makefile	Wed Dec 10 22:33:57 2014	(r275691)
+++ head/share/termcap/Makefile	Wed Dec 10 23:18:11 2014	(r275692)
@@ -21,7 +21,7 @@ CAP_MKDB_ENDIAN=
 .endif
 
 termcap.db: termcap
-	cap_mkdb ${CAP_MKDB_ENDIAN} termcap
+	cap_mkdb ${CAP_MKDB_ENDIAN} -f ${.TARGET:R} ${.ALLSRC}
 
 etc-termcap:
 	ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap



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