diff options
author | khorben <khorben@pkgsrc.org> | 2022-04-30 21:01:19 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2022-04-30 21:01:19 +0000 |
commit | e1a4aca54dec90555e942b434851ca61a4803351 (patch) | |
tree | 36a183b241b920d33249a3b6e3443313520e036a | |
parent | e7e97ac719aca1a46d30b958fc5d1f10f4d93539 (diff) | |
download | pkgsrc-e1a4aca54dec90555e942b434851ca61a4803351.tar.gz |
deforaos-cpp: update to 0.0.6
The releases since the last one packaged:
- add some tests (disabled in pkgsrc)
- improve the documentation generated
This package can break building with multiple jobs, and is marked as such.
-rw-r--r-- | devel/deforaos-cpp/Makefile | 12 | ||||
-rw-r--r-- | devel/deforaos-cpp/PLIST | 3 | ||||
-rw-r--r-- | devel/deforaos-cpp/distinfo | 11 | ||||
-rw-r--r-- | devel/deforaos-cpp/patches/patch-project.conf | 14 | ||||
-rw-r--r-- | devel/deforaos-cpp/patches/patch-src_project.conf | 15 |
5 files changed, 38 insertions, 17 deletions
diff --git a/devel/deforaos-cpp/Makefile b/devel/deforaos-cpp/Makefile index 342ba6cf37e..dbcbdae86b4 100644 --- a/devel/deforaos-cpp/Makefile +++ b/devel/deforaos-cpp/Makefile @@ -1,10 +1,9 @@ -# $NetBSD: Makefile,v 1.9 2022/04/12 23:32:03 khorben Exp $ +# $NetBSD: Makefile,v 1.10 2022/04/30 21:01:19 khorben Exp $ -DISTNAME= CPP-0.0.3 -PKGNAME= deforaos-cpp-0.0.3 -PKGREVISION= 7 +DISTNAME= CPP-0.0.6 +PKGNAME= deforaos-cpp-0.0.6 CATEGORIES= devel -MASTER_SITES= https://www.defora.org/os/download/download/4422/ +MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Devel/src/CPP/ MAINTAINER= khorben@defora.org HOMEPAGE= https://www.defora.org/ @@ -13,10 +12,13 @@ LICENSE= gnu-lgpl-v3 MAKE_FLAGS+= PREFIX=${PREFIX} MAKE_FLAGS+= DESTDIR=${DESTDIR} +MAKE_FLAGS+= CPPFLAGS=-DPROGNAME_CPP=\\\"deforaos-cpp\\\" MAKE_FLAGS+= CFLAGS=${CFLAGS:Q} MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q} MAKE_FLAGS+= INSTALL=${INSTALL} +MAKE_JOBS_SAFE= no + post-install: ${MV} ${DESTDIR}${PREFIX}/bin/cpp ${DESTDIR}${PREFIX}/bin/deforaos-cpp diff --git a/devel/deforaos-cpp/PLIST b/devel/deforaos-cpp/PLIST index 9efd950ecf5..1b787fecefc 100644 --- a/devel/deforaos-cpp/PLIST +++ b/devel/deforaos-cpp/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2020/04/11 02:46:59 khorben Exp $ +@comment $NetBSD: PLIST,v 1.6 2022/04/30 21:01:19 khorben Exp $ bin/deforaos-cpp include/Devel/CPP.h lib/libcpp.a @@ -6,6 +6,7 @@ lib/libcpp.so lib/libcpp.so.0 lib/libcpp.so.0.0 lib/pkgconfig/cpp.pc +share/doc/CPP/COPYING share/gtk-doc/html/CPP/CPP-CPP:CAPS.html share/gtk-doc/html/CPP/CPP.devhelp2 share/gtk-doc/html/CPP/api-index-full.html diff --git a/devel/deforaos-cpp/distinfo b/devel/deforaos-cpp/distinfo index 0a50a728ed1..3445da39400 100644 --- a/devel/deforaos-cpp/distinfo +++ b/devel/deforaos-cpp/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.4 2022/04/12 23:32:03 khorben Exp $ +$NetBSD: distinfo,v 1.5 2022/04/30 21:01:19 khorben Exp $ -BLAKE2s (CPP-0.0.3.tar.gz) = 1e3d5eb256bd1b2fbbb6a6287077fe9e543a14867367d7d7307ce448df9edb92 -SHA512 (CPP-0.0.3.tar.gz) = cc436c92f9ff55c3a4bbcc952546b09b7665b435561176e8cec0cc427d1a5bb92b0475dc0a1016db2c2f634649a1c73280e57508312ba632c9b1548e0b38b578 -Size (CPP-0.0.3.tar.gz) = 21742 bytes -SHA1 (patch-project.conf) = ec82075e4f509c2e5b8f866a82f3d14746485821 +BLAKE2s (CPP-0.0.6.tar.gz) = d50963fa6d3a5e3adfe9b90cc8541c6eacfdd4019b585300b0038109ac315a19 +SHA512 (CPP-0.0.6.tar.gz) = 79252792f799b8db3f9f211fb2ecbf232165d58f16a902303018f18ae8980d2a19100efe280f9201202724a96efbc18dd9af1fe7d56cda438080264b87df96ad +Size (CPP-0.0.6.tar.gz) = 25248 bytes +SHA1 (patch-project.conf) = 4187dde94f6ae8c17aed3b51c7d0974c5cd92c4f +SHA1 (patch-src_project.conf) = 514d6dd6870706c308b805a5f414ea889a3fc64d diff --git a/devel/deforaos-cpp/patches/patch-project.conf b/devel/deforaos-cpp/patches/patch-project.conf index 2842588bba1..a4ec3dde768 100644 --- a/devel/deforaos-cpp/patches/patch-project.conf +++ b/devel/deforaos-cpp/patches/patch-project.conf @@ -1,13 +1,15 @@ -$NetBSD: patch-project.conf,v 1.1 2022/04/12 23:32:03 khorben Exp $ +$NetBSD: patch-project.conf,v 1.2 2022/04/30 21:01:19 khorben Exp $ Do not run the tests ---- project.conf.orig 2016-02-20 02:49:10.000000000 +0000 +--- project.conf.orig 2022-04-30 20:44:02.000000000 +0000 +++ project.conf -@@ -2,5 +2,5 @@ package=CPP - version=0.0.3 - config=h,sh +@@ -3,7 +3,7 @@ version=0.0.6 + vendor=Devel + config=ent,h,sh -subdirs=data,doc,include,src,tests +subdirs=data,doc,include,src - dist=Makefile,COPYING,config.h,config.sh + targets=tests + dist=Makefile,COPYING,config.ent,config.h,config.sh + diff --git a/devel/deforaos-cpp/patches/patch-src_project.conf b/devel/deforaos-cpp/patches/patch-src_project.conf new file mode 100644 index 00000000000..188bcfb16da --- /dev/null +++ b/devel/deforaos-cpp/patches/patch-src_project.conf @@ -0,0 +1,15 @@ +$NetBSD: patch-src_project.conf,v 1.1 2022/04/30 21:01:19 khorben Exp $ + +Fix the build + +--- src/project.conf.orig 2022-04-30 20:44:02.000000000 +0000 ++++ src/project.conf +@@ -22,7 +22,7 @@ sources=main.c + #XXX should really use this (race condition with "make -k") + depends=$(OBJDIR)lib/libcpp$(SOEXT) + depends=$(OBJDIR)lib/libcpp.a +-ldflags=-L$(OBJDIR)lib -L$(LIBDIR) -Wl,-rpath,$(LIBDIR) -lcpp ++ldflags=-L$(OBJDIR)lib -L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -lcpp + install=$(BINDIR) + + #sources |