pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lgogdownloader-git: reduce diffs to pkgsrc/games/lgogdownloader
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Sun Mar 22 10:30:03 2020 +0100
Changeset: 2c16082342491556258cb05fa38b59f542013784
Modified Files:
lgogdownloader-git/Makefile
Log Message:
lgogdownloader-git: reduce diffs to pkgsrc/games/lgogdownloader
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2c16082342491556258cb05fa38b59f542013784
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lgogdownloader-git/Makefile | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diffs:
diff --git a/lgogdownloader-git/Makefile b/lgogdownloader-git/Makefile
index 49b01ef958..d22bddd77b 100644
--- a/lgogdownloader-git/Makefile
+++ b/lgogdownloader-git/Makefile
@@ -9,20 +9,23 @@ HOMEPAGE= https://github.com/Sude-/lgogdownloader
COMMENT= Download games from GOG
LICENSE= public-domain # actually, dwtfywtpl
-BUILD_DEPENDS+= help2man-[0-9]*:../../converters/help2man
+TOOL_DEPENDS+= help2man-[0-9]*:../../converters/help2man
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}
# https://github.com/Sude-/lgogdownloader/issues/128
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 "../../textproc/tinyxml2/buildlink3.mk"
.include "../../www/htmlcxx/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index