FreeBSD Bugzilla – Attachment 217635 Details for
Bug 249002
devel/check: Switch to CMake, use release archive and enable "make test"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for check v2
check-dist-test-v2.patch (text/plain), 3.48 KB, created by
Daniel Engberg
on 2020-08-29 23:39:50 UTC
(
hide
)
Description:
Patch for check v2
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2020-08-29 23:39:50 UTC
Size:
3.48 KB
patch
obsolete
>diff --git a/devel/check/Makefile b/devel/check/Makefile >index 0bed08c85cf7..490378dc3b99 100644 >--- a/devel/check/Makefile >+++ b/devel/check/Makefile >@@ -2,8 +2,10 @@ > # $FreeBSD$ > > PORTNAME= check >-PORTVERSION= 0.15.2 >+DISTVERSION= 0.15.2 >+PORTREVISION= 1 > CATEGORIES= devel >+MASTER_SITES= https://github.com/libcheck/check/releases/download/${DISTVERSION}/ > > MAINTAINER= sunpoet@FreeBSD.org > COMMENT= Unit test framework for C >@@ -11,28 +13,16 @@ COMMENT= Unit test framework for C > LICENSE= LGPL21 > LICENSE_FILE= ${WRKSRC}/COPYING.LESSER > >-USES= autoreconf libtool makeinfo pathfix pkgconfig >+USES= cmake > >-CONFIGURE_ENV= ac_cv_path_AWK_PATH=${AWK} >-GNU_CONFIGURE= yes >-INSTALL_TARGET= install-strip > USE_LDCONFIG= yes > >-INFO= check >+TEST_TARGET= test > >-GH_ACCOUNT= libcheck >-USE_GITHUB= yes >+CMAKE_ARGS= -DCMAKE_INSTALL_DATAROOTDIR:PATH=./ -DENABLE_MEMORY_LEAKING_TESTS:BOOL=false > >-OPTIONS_DEFINE= DOCS EXAMPLES >+OPTIONS_DEFINE= TEST > >-post-patch: >- @${REINPLACE_CMD} \ >- -e 's|COPYING.LESSER||' \ >- -e '/^docdir = / s|$$(PACKAGE)|check|' \ >- ${WRKSRC}/Makefile.am >- @${REINPLACE_CMD} \ >- -e '/^exampledir = / s|(docdir)/example|(datadir)/examples/check|' \ >- -e '/^example[a-z]*dir = / s|(docdir)/example/|(exampledir)/|' \ >- ${WRKSRC}/doc/Makefile.am >+TEST_CMAKE_BOOL= BUILD_TESTING CHECK_ENABLE_TESTS > > .include <bsd.port.mk> >diff --git a/devel/check/distinfo b/devel/check/distinfo >index 38e6ef530eba..d527e63ce123 100644 >--- a/devel/check/distinfo >+++ b/devel/check/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1597569921 >-SHA256 (libcheck-check-0.15.2_GH0.tar.gz) = 998d355294bb94072f40584272cf4424571c396c631620ce463f6ea97aa67d2e >-SIZE (libcheck-check-0.15.2_GH0.tar.gz) = 306136 >+TIMESTAMP = 1598731997 >+SHA256 (check-0.15.2.tar.gz) = a8de4e0bacfb4d76dd1c618ded263523b53b85d92a146d8835eb1a52932fa20a >+SIZE (check-0.15.2.tar.gz) = 774985 >diff --git a/devel/check/pkg-plist b/devel/check/pkg-plist >index c57bf6bf2fb3..4df4a534420b 100644 >--- a/devel/check/pkg-plist >+++ b/devel/check/pkg-plist >@@ -1,34 +1,13 @@ > bin/checkmk > include/check.h > include/check_stdint.h >+lib/cmake/check/check-config-version.cmake >+lib/cmake/check/check-config.cmake >+lib/cmake/check/check-targets-%%CMAKE_BUILD_TYPE%%.cmake >+lib/cmake/check/check-targets.cmake > lib/libcheck.a > lib/libcheck.so > lib/libcheck.so.0 >-lib/libcheck.so.0.0.0 >+lib/libcheck.so.0.15.2 > libdata/pkgconfig/check.pc > man/man1/checkmk.1.gz >-share/aclocal/check.m4 >-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >-%%PORTDOCS%%%%DOCSDIR%%/NEWS >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.am >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/configure.ac >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/Makefile.am >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/main.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.1.h >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.2.h >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.3.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.4.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.5.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.6.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/src/money.h >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/Makefile.am >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.1.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.2.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.3.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.6.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.7.c >-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tests/check_money.c
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249002
:
217633
|
217635
|
218118