pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/gnutls gnutls: Fix path to bash in installed ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/afb08dd323f1
branches:  trunk
changeset: 384262:afb08dd323f1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Aug 20 06:01:25 2018 +0000

description:
gnutls: Fix path to bash in installed files.

Bump PKGREVISION.

diffstat:

 security/gnutls/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 677e81ae0ec1 -r afb08dd323f1 security/gnutls/Makefile
--- a/security/gnutls/Makefile  Mon Aug 20 05:24:59 2018 +0000
+++ b/security/gnutls/Makefile  Mon Aug 20 06:01:25 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.186 2018/08/19 09:16:01 wiz Exp $
+# $NetBSD: Makefile,v 1.187 2018/08/20 06:01:25 wiz Exp $
 
 DISTNAME=      gnutls-3.6.3
+PKGREVISION=   1
 CATEGORIES=    security devel
 MASTER_SITES=  ftp://ftp.gnutls.org/gcrypt/gnutls/v3.6/
 EXTRACT_SUFX=  .tar.xz
@@ -13,7 +14,7 @@
 USE_LANGUAGES=                 c c++
 USE_LIBTOOL=                   yes
 USE_PKGLOCALEDIR=              yes
-USE_TOOLS+=                    gmake gsed perl pkg-config bash:build
+USE_TOOLS+=                    gmake gsed perl pkg-config bash
 GNU_CONFIGURE=                 yes
 # this library duplicates (and conflicts with) openssl
 CONFIGURE_ARGS+=               --disable-openssl-compatibility
@@ -56,6 +57,12 @@
 MAKE_ENV+=             RM=${RM:Q}
 MAKE_ENV+=             TZ=UTC
 
+SUBST_CLASSES+=                shell
+SUBST_SED.shell+=      -e 's,define POSIX_SHELL .*,define POSIX_SHELL "'${TOOLS_PATH.bash}'",'
+SUBST_STAGE.shell=     post-configure
+SUBST_FILES.shell+=    config.h
+SUBST_MESSAGE.shell=   Fixing path to bash.
+
 EGDIR=         ${PREFIX}/share/examples/gnutls
 
 INSTALLATION_DIRS=     ${EGDIR} include/gnutls



Home | Main Index | Thread Index | Old Index