Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 06:18:32 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423237 - head/Mk/Uses
Message-ID:  <201610040618.u946IWiR015188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Tue Oct  4 06:18:32 2016
New Revision: 423237
URL: https://svnweb.freebsd.org/changeset/ports/423237

Log:
  Teach pathfix.mk about LIB_DESTINATION
  
  Some cmake projects use LIB_DESTINATION/pkgconfig to install the pc-files.
  
  For example:
  * deskutils/libstreamanalyzer
  * sysutils/polkit-qt{,5}
  * x11-toolkits/attica
  
  By adding this, we can convert these ports to use pathfix instead of an
  uncessessary patch-foo or confusing sed call.
  
  Reviewed by:	mat
  Approved by:	portmgr (mat), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D8141

Modified:
  head/Mk/Uses/pathfix.mk

Modified: head/Mk/Uses/pathfix.mk
==============================================================================
--- head/Mk/Uses/pathfix.mk	Tue Oct  4 05:59:00 2016	(r423236)
+++ head/Mk/Uses/pathfix.mk	Tue Oct  4 06:18:32 2016	(r423237)
@@ -27,6 +27,7 @@ pathfix:
 		's|[{]CMAKE_INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
 		s|[{]INSTALL_LIB_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
 		s|[{]INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
+		s|[{]LIB_DESTINATION[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
 		s|[{]LIB_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
 		s|[{]LIB_INSTALL_DIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
 		s|[{]KDE_INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \



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