Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/autogen autogen: try to fix build on Darwin with...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/487a31ad5237
branches:  trunk
changeset: 437721:487a31ad5237
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 30 14:00:56 2020 +0000

description:
autogen: try to fix build on Darwin with ac_cv_func_utimensat=no

Something is very broken in the #ifdef maze in autogen.h.
This workaround is from Homebrew.

diffstat:

 devel/autogen/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r b56fe39fc853 -r 487a31ad5237 devel/autogen/Makefile
--- a/devel/autogen/Makefile    Sun Aug 30 13:36:01 2020 +0000
+++ b/devel/autogen/Makefile    Sun Aug 30 14:00:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2020/08/17 08:43:07 tnn Exp $
+# $NetBSD: Makefile,v 1.50 2020/08/30 14:00:56 tnn Exp $
 
 DISTNAME=      autogen-5.18.16
 CATEGORIES=    devel
@@ -23,6 +23,7 @@
 # XXX
 CONFIGURE_ARGS+=       --disable-dependency-tracking
 BUILDLINK_TRANSFORM+=  rm:-Werror
+CONFIGURE_ENV.Darwin+= ac_cv_func_utimensat=no
 
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../lang/guile22/buildlink3.mk"



Home | Main Index | Thread Index | Old Index