Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2018 09:08:48 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463881 - head/Mk/Uses
Message-ID:  <201803080908.w2898mWH011368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Mar  8 09:08:48 2018
New Revision: 463881
URL: https://svnweb.freebsd.org/changeset/ports/463881

Log:
  Fix pkgconfig path when used in CMAKE_INSTALL_DATAROOTDIR

Modified:
  head/Mk/Uses/pathfix.mk

Modified: head/Mk/Uses/pathfix.mk
==============================================================================
--- head/Mk/Uses/pathfix.mk	Thu Mar  8 09:03:08 2018	(r463880)
+++ head/Mk/Uses/pathfix.mk	Thu Mar  8 09:08:48 2018	(r463881)
@@ -30,6 +30,7 @@ pathfix:
 .for file in ${PATHFIX_CMAKELISTSTXT}
 	@${FIND} ${PATHFIX_WRKSRC} -name "${file}" -type f | ${XARGS} ${REINPLACE_CMD} -e \
 		's|[{]CMAKE_INSTALL_LIBDIR[}]/pkgconfig|{CMAKE_INSTALL_PREFIX}/libdata/pkgconfig|g ; \
+		s|[{]CMAKE_INSTALL_DATAROOTDIR[}]/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 ; \



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