pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libidn2 With SunPro, the HAVE_SYMVER_ALIAS_SUPPO...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1c820bfcf6b5
branches: trunk
changeset: 371698:1c820bfcf6b5
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Wed Jan 12 15:21:54 2022 +0000
description:
With SunPro, the HAVE_SYMVER_ALIAS_SUPPORT configure check passes, but
the linker will fail during build. Forcibly #undef it.
diffstat:
devel/libidn2/Makefile | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r e184e326c59b -r 1c820bfcf6b5 devel/libidn2/Makefile
--- a/devel/libidn2/Makefile Wed Jan 12 11:53:26 2022 +0000
+++ b/devel/libidn2/Makefile Wed Jan 12 15:21:54 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2021/07/29 10:24:49 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/01/12 15:21:54 schmonz Exp $
DISTNAME= libidn2-2.3.2
CATEGORIES= devel
@@ -22,6 +22,14 @@
ac_cv_path_GTKDOC_REBASE= \
ac_cv_path_GTKDOC_MKPDF=
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGSRC_COMPILER:Msunpro}
+# configure check passes, but linker will fail during build
+post-configure:
+ ${ECHO} '#undef HAVE_SYMVER_ALIAS_SUPPORT' >> ${WRKSRC}/config.h
+.endif
+
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libunistring/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index