Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2022 15:06:44 GMT
From:      =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 243bc134121f - main - net/samba41[23]: set PYTHONHASHSEED during build
Message-ID:  <202203111506.22BF6i0j063609@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=243bc134121f464a3a7b39a85debc78ddf2e8274

commit 243bc134121f464a3a7b39a85debc78ddf2e8274
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-03-11 15:00:50 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-03-11 15:00:50 +0000

    net/samba41[23]: set PYTHONHASHSEED during build
    
    The build with CCACHE can be significantly sped up by passing
    PYTHONHASHSEED=1 in the environment to make the build reproducible
    with regard to the compiler commands issued.
    
    PR:             262092
    Reported by:    chris at chrullrich.net (Christian Ullrich)
---
 net/samba412/Makefile | 1 +
 net/samba413/Makefile | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net/samba412/Makefile b/net/samba412/Makefile
index 69d400b31181..7357b9e53081 100644
--- a/net/samba412/Makefile
+++ b/net/samba412/Makefile
@@ -63,6 +63,7 @@ CONFIGURE_ARGS+=		--mandir="${MANPREFIX}/man" \
 				--with-logfilebase="${SAMBA4_LOGDIR}"
 # XXX: Flags
 CONFIGURE_ENV+=			PTHREAD_LDFLAGS="-lpthread"
+MAKE_ENV+=			PYTHONHASHSEED=1
 
 USES+=				compiler:c++11-lang iconv localbase:ldflags \
 				perl5 pkgconfig shebangfix ssl waf gettext-runtime
diff --git a/net/samba413/Makefile b/net/samba413/Makefile
index f15ba16e514a..f4435e389f2e 100644
--- a/net/samba413/Makefile
+++ b/net/samba413/Makefile
@@ -66,6 +66,7 @@ CONFIGURE_ARGS+=		--mandir="${MANPREFIX}/man" \
 				--with-logfilebase="${SAMBA4_LOGDIR}"
 # XXX: Flags
 CONFIGURE_ENV+=			PTHREAD_LDFLAGS="-lpthread"
+MAKE_ENV+=			PYTHONHASHSEED=1
 
 USES+=				compiler:c++11-lang iconv localbase:ldflags \
 				perl5 pkgconfig shebangfix waf gettext-runtime



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203111506.22BF6i0j063609>