Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 22:22:01 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r430172 - head/devel/jsoncpp
Message-ID:  <201612312222.uBVMM1kb029088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Dec 31 22:22:01 2016
New Revision: 430172
URL: https://svnweb.freebsd.org/changeset/ports/430172

Log:
  Fix variable substitution for jsoncpp.pc
  
  - Bump PORTREVISION for package change
  
  PR:		215390
  Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
  Approved by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)

Modified:
  head/devel/jsoncpp/Makefile

Modified: head/devel/jsoncpp/Makefile
==============================================================================
--- head/devel/jsoncpp/Makefile	Sat Dec 31 22:07:17 2016	(r430171)
+++ head/devel/jsoncpp/Makefile	Sat Dec 31 22:22:01 2016	(r430172)
@@ -3,6 +3,7 @@
 
 PORTNAME=	jsoncpp
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@rawbw.com
@@ -46,8 +47,8 @@ do-install:
 	${CP} ${WRKSRC}/pkg-config/jsoncpp.pc.in ${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
 	@${REINPLACE_CMD} -i '' \
 		-e 's|@CMAKE_INSTALL_PREFIX@|${PREFIX}|g' \
-		-e 's|@LIBRARY_INSTALL_DIR@|lib|g' \
-		-e 's|@INCLUDE_INSTALL_DIR@|include/jsoncpp|g' \
+		-e 's|@CMAKE_INSTALL_LIBDIR@|lib|g' \
+		-e 's|@CMAKE_INSTALL_INCLUDEDIR@|include/jsoncpp|g' \
 		-e 's|@JSONCPP_VERSION@|${DISTVERSION}|g' \
 		${STAGEDIR}${PREFIX}/libdata/pkgconfig/jsoncpp.pc
 



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