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 build if devel/autogen pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/63ad9a8013c0
branches:  trunk
changeset: 381331:63ad9a8013c0
user:      leot <leot%pkgsrc.org@localhost>
date:      Mon Jun 04 12:45:47 2018 +0000

description:
gnutls: Fix build if devel/autogen package is installed

Without including the autogen bl3 if devel/autogen package was
installed autogen (the tool) was used but then the build failed
because it tried to include <autoopts/options.h> unconditionally.

Add `--enable-local-libopts' to CONFIGURE_ARGS to avoid that.

diffstat:

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

diffs (17 lines):

diff -r 8569b97870a9 -r 63ad9a8013c0 security/gnutls/Makefile
--- a/security/gnutls/Makefile  Mon Jun 04 12:35:51 2018 +0000
+++ b/security/gnutls/Makefile  Mon Jun 04 12:45:47 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.180 2018/06/04 11:16:12 youri Exp $
+# $NetBSD: Makefile,v 1.181 2018/06/04 12:45:47 leot Exp $
 
 DISTNAME=      gnutls-3.6.0
 PKGREVISION=   2
@@ -23,6 +23,7 @@
 CONFIGURE_ARGS+=               --without-tpm
 CONFIGURE_ARGS+=               --disable-valgrind-tests
 CONFIGURE_ARGS+=               --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
+CONFIGURE_ARGS+=               --enable-local-libopts
 # Assembler support is broken for SunOS in 3.2.9.
 CONFIGURE_ARGS.SunOS+=         --disable-hardware-acceleration
 CONFIGURE_ARGS.FreeBSD+=       ac_cv_type_max_align_t=yes



Home | Main Index | Thread Index | Old Index