Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/tl-expected tl-expected: Fix build without git



details:   https://anonhg.NetBSD.org/pkgsrc/rev/99de75f08e59
branches:  trunk
changeset: 432749:99de75f08e59
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon May 25 11:44:25 2020 +0000

description:
tl-expected: Fix build without git

diffstat:

 devel/tl-expected/Makefile |  11 ++++++++++-
 devel/tl-expected/distinfo |  14 +++++++++-----
 2 files changed, 19 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 8c2b8f44eb1a -r 99de75f08e59 devel/tl-expected/Makefile
--- a/devel/tl-expected/Makefile        Mon May 25 10:53:36 2020 +0000
+++ b/devel/tl-expected/Makefile        Mon May 25 11:44:25 2020 +0000
@@ -1,10 +1,14 @@
-# $NetBSD: Makefile,v 1.1 2020/03/31 10:03:35 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/05/25 11:44:25 nia Exp $
 
 DISTNAME=      tl-expected-1.0.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=TartanLlama/}
 GITHUB_PROJECT=        expected
 GITHUB_TAG=    v${PKGVERSION_NOREV}
+DIST_SUBDIR=   ${DISTNAME}
+DISTFILES=     ${DEFAULT_DISTFILES} add-tl.cmake
+SITES.add-tl.cmake= \
+       https://raw.githubusercontent.com/TartanLlama/tl-cmake/284c6a3f0f61823cc3871b0f193e8df699e2c4ce/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/TartanLlama/expected
@@ -15,5 +19,10 @@
 USE_LANGUAGES= c c++
 
 CMAKE_ARGS+=   -DEXPECTED_ENABLE_TESTS=OFF
+CMAKE_ARGS+=   -DFETCHCONTENT_SOURCE_DIR_TL_CMAKE=${WRKSRC}/cmake/tl-cmake
+
+pre-configure:
+       ${MKDIR} -p ${WRKSRC}/cmake/tl-cmake
+       ${CP} ${WRKDIR}/add-tl.cmake ${WRKSRC}/cmake/tl-cmake
 
 .include "../../mk/bsd.pkg.mk"
diff -r 8c2b8f44eb1a -r 99de75f08e59 devel/tl-expected/distinfo
--- a/devel/tl-expected/distinfo        Mon May 25 10:53:36 2020 +0000
+++ b/devel/tl-expected/distinfo        Mon May 25 11:44:25 2020 +0000
@@ -1,6 +1,10 @@
-$NetBSD: distinfo,v 1.1 2020/03/31 10:03:35 nia Exp $
+$NetBSD: distinfo,v 1.2 2020/05/25 11:44:25 nia Exp $
 
-SHA1 (tl-expected-1.0.0.tar.gz) = 2ce5120ef6b4238b092a73214a48516462f809ce
-RMD160 (tl-expected-1.0.0.tar.gz) = 554d783c23c26a27d68bcc015599f4cd69000c1c
-SHA512 (tl-expected-1.0.0.tar.gz) = 747ea34b5540dfcf595896332851f10c52a823ab8ba3fc8152478b0a9e8ca01f0f26827348407249827f4106ff577bd6e697ea6f749c1f21bd1f0913a621075d
-Size (tl-expected-1.0.0.tar.gz) = 102672 bytes
+SHA1 (tl-expected-1.0.0/add-tl.cmake) = f2f40516d12b47451ed1fb2f5015c01bca1eb16a
+RMD160 (tl-expected-1.0.0/add-tl.cmake) = 592a6d54ce75a4adac4c11b5b7171a1f79c0843b
+SHA512 (tl-expected-1.0.0/add-tl.cmake) = d7570d8cb44dd9a4538bb4c6857a36f2538729cbf5e329f7984e4fa8fd1d830b8f63a8e77190905e13b29eaab9e00f5826667c53b2635c9e6d550bee10cc8936
+Size (tl-expected-1.0.0/add-tl.cmake) = 1366 bytes
+SHA1 (tl-expected-1.0.0/tl-expected-1.0.0.tar.gz) = 2ce5120ef6b4238b092a73214a48516462f809ce
+RMD160 (tl-expected-1.0.0/tl-expected-1.0.0.tar.gz) = 554d783c23c26a27d68bcc015599f4cd69000c1c
+SHA512 (tl-expected-1.0.0/tl-expected-1.0.0.tar.gz) = 747ea34b5540dfcf595896332851f10c52a823ab8ba3fc8152478b0a9e8ca01f0f26827348407249827f4106ff577bd6e697ea6f749c1f21bd1f0913a621075d
+Size (tl-expected-1.0.0/tl-expected-1.0.0.tar.gz) = 102672 bytes



Home | Main Index | Thread Index | Old Index