lgogdownloader-git: reduce diffs to pkgsrc/games/lgogdownloader
This commit is contained in:
parent
e3bc18f58d
commit
2c16082342
|
@ -9,20 +9,23 @@ HOMEPAGE= https://github.com/Sude-/lgogdownloader
|
||||||
COMMENT= Download games from GOG
|
COMMENT= Download games from GOG
|
||||||
LICENSE= public-domain # actually, dwtfywtpl
|
LICENSE= public-domain # actually, dwtfywtpl
|
||||||
|
|
||||||
BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
|
TOOL_DEPENDS+= help2man-[0-9]*:../../converters/help2man
|
||||||
|
|
||||||
USE_LANGUAGES= c c++
|
USE_LANGUAGES= c c++
|
||||||
USE_CMAKE= yes
|
USE_CMAKE= yes
|
||||||
USE_TOOLS+= pkg-config
|
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_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}
|
|
||||||
|
|
||||||
# https://github.com/Sude-/lgogdownloader/issues/128
|
# https://github.com/Sude-/lgogdownloader/issues/128
|
||||||
PKGSRC_USE_STACK_CHECK= no
|
PKGSRC_USE_STACK_CHECK= no
|
||||||
|
|
||||||
|
.include "../../mk/bsd.prefs.mk"
|
||||||
|
|
||||||
|
.if ${MACHINE_ARCH} == "i386"
|
||||||
|
# 64 bit atomic ops are required
|
||||||
|
CXXFLAGS+= -march=i586
|
||||||
|
.endif
|
||||||
|
|
||||||
.include "../../devel/boost-libs/buildlink3.mk"
|
.include "../../devel/boost-libs/buildlink3.mk"
|
||||||
.include "../../textproc/tinyxml2/buildlink3.mk"
|
.include "../../textproc/tinyxml2/buildlink3.mk"
|
||||||
.include "../../www/htmlcxx/buildlink3.mk"
|
.include "../../www/htmlcxx/buildlink3.mk"
|
||||||
|
|
Loading…
Reference in New Issue