Tuesday, September 20, 2022

Re: [MAINTAINER UPDATE] archivers/zpaqfranz-55.15

diff --git a/archivers/zpaqfranz/Makefile b/archivers/zpaqfranz/Makefile
index 3d7428f15fb..0214509dc21 100644
--- a/archivers/zpaqfranz/Makefile
+++ b/archivers/zpaqfranz/Makefile
@@ -2,7 +2,7 @@ COMMENT = journaling archiver for incremental backup, fork of ZPAQ

GH_ACCOUNT = fcorbelli
GH_PROJECT = zpaqfranz
-GH_TAGNAME = 55.14
+GH_TAGNAME = 55.15

CATEGORIES = archivers
MAINTAINER = tux0r <tux0r@rosaelefanten.org>
@@ -23,7 +23,11 @@ MAKE_FLAGS += CXX="${CXX}" \
CPPFLAGS += -Dunix
USE_WXNEEDED= Yes

-post-install:
+do-build:
+ cd ${WRKSRC} ; ${CXX} ${CPPFLAGS} zpaqfranz.cpp -o zpaqfranz -pthread -static
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKDIST}/zpaqfranz ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/zpaqfranz.1 ${PREFIX}/man/man1/

do-test:
diff --git a/archivers/zpaqfranz/distinfo b/archivers/zpaqfranz/distinfo
index af2f37dd445..aca939fe8f1 100644
--- a/archivers/zpaqfranz/distinfo
+++ b/archivers/zpaqfranz/distinfo
@@ -1,2 +1,2 @@
-SHA256 (zpaqfranz-55.14.tar.gz) = NQu4rTUPFK5MEOypueG2kaAU4dXUGG54vI2ajgTMF6M=
-SIZE (zpaqfranz-55.14.tar.gz) = 10588313
+SHA256 (zpaqfranz-55.15.tar.gz) = wgcWqzVjQ8S5bx0ecptcK3P0vuH8rUlXdfGprrIhbjQ=
+SIZE (zpaqfranz-55.15.tar.gz) = 3366870
-----BEGIN PGP SIGNATURE-----
Version: Canary PGP V3

iQI1BAADCgAfGBx0dXgwckByb3NhZWxlZmFudGVuLm9yZwUCYyl2nQAKCRATIL36
dZFva++hD/wP+esDoEoXGckoUj4NcSfb0Lv2s/HL5HD0Go8gGR/YZ4jX1SwArVA4
hUXsFNcaHIHGntQpCt993oSNtJkMLHHpNnULqLBtbeLQmUaTL2/UcYPYD1vBr5F6
g1uXO56k646eRavoTUepHxenUm9H6Q8JWQgSl2Qbr4lutGhiD+pKU45NsWeIRrUE
oOZlI9l2WmZj39NBzvQghjxZ2u0MNP1a/rlG+y92Gf28S372n+r32NHhhAME6/fM
f6+8+asOfI6ukzsd3h2/PYS4zCrqA1QZZstmisdSiRBl0sdEYZv06/po1GS0JYQs
tzYJj9yaQzHyyFbScLbFm1TCsu7YVYIL45bMzTFfg+WsASYKLTbOtb1pT21UMeYD
ug7EYNCXpZxzZh2JZ1m4Bcnd8HDHcz1b2M0NMfRN1kdFqa7pMDt6In75mlsSy0sR
5SaE6XwcnEFJ7JG01kL2eEi/GaTKKXMAmpjfsul0AtZGJRcwAjewKuZ2/7BHC9Nm
Qc4CTBAzKc1AvvTvsXNEA5idVttw+qxTVvndW0GMRp5bnkw7NfHQ+m95L9HxLs6L
PCOAvndiLXFnQRLiEM5p7DzUOImJ2umSwhtIPYTmvcbH6V/CFQXWJsR4wBOVEbvl
/HVLEX83+KDhbr4+T6TWdgoc4GfA7FMW36cGcgkeU0aqk+WH6nWuYQ==
=7soT
-----END PGP SIGNATURE-----
Ahoi, Peter,

yes, you are right. I copied "-O3 -march=native" from the old Makefile that the previous port used, but I should probably have taken care of that earlier.

Updated diff attached.

tux0r.

> On Montag, Sept. 19, 2022 at 10:38 PM, Peter Hessler <phessler@theapt.org (mailto:phessler@theapt.org)> wrote:
> On 2022 Sep 19 (Mon) at 18:57:41 +0200 (+0200), tux0r wrote:
> :For no obvious reason, the dev decided to delete the Makefile, so the port will have to take care of that as well...
> :
> :Looks like no OpenBSD-specifics are required this time - here's the patch.
> :
> :tux0r.
>
>
> Please remove "-O3 -march=native" from the compiler line. We don't want
> -O3 optimizations, and "-march=native" will generate code that won't run
> on all supported machines.
>
>
> --
> Practical people would be more practical if they would take a little
> more time for dreaming.
> -- J. P. McEvoy

No comments:

Post a Comment