svn commit: r275692 - head/share/termcap

Garrett Cooper ngie at FreeBSD.org
Wed Dec 10 23:18:12 UTC 2014


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


More information about the svn-src-all mailing list