pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/lgogdownloader lgogdownloader: Fix jsoncpp detec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd5936c2a716
branches:  trunk
changeset: 406417:dd5936c2a716
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Dec 21 21:21:12 2019 +0000

description:
lgogdownloader: Fix jsoncpp detection and remove some unused CMAKE_ARGS

diffstat:

 games/lgogdownloader/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r b91ade80acf2 -r dd5936c2a716 games/lgogdownloader/Makefile
--- a/games/lgogdownloader/Makefile     Sat Dec 21 21:08:42 2019 +0000
+++ b/games/lgogdownloader/Makefile     Sat Dec 21 21:21:12 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2019/08/22 12:23:13 ryoon Exp $
+# $NetBSD: Makefile,v 1.42 2019/12/21 21:21:12 nia Exp $
 
 DISTNAME=      lgogdownloader-3.5
 PKGREVISION=   3
@@ -15,11 +15,8 @@
 USE_LANGUAGES= c c++
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
-CMAKE_ARGS+=   -DPC_JSONCPP_FOUND:BOOL=1
-CMAKE_ARGS+=   -DPC_JSONCPP_INCLUDEDIRS:PATH=${BUILDLINK_PREFIX.jsoncpp}/include/json
-CMAKE_ARGS+=   -DPC_JSONCPP_LIBRARY_DIRS:PATH=${BUILDLINK_PREFIX.jsoncpp}/lib
-# for man page
-CMAKE_ARGS+=   -DINSTALL_SHARE_DIR:PATH=${PREFIX}
+
+CMAKE_ARGS+=   -DJSONCPP_INCLUDE_DIR=${BUILDLINK_DIR}/include/json
 
 .include "../../devel/boost-libs/buildlink3.mk"
 .include "../../security/liboauth/buildlink3.mk"



Home | Main Index | Thread Index | Old Index