Skip to content

Commit

Permalink
With SunPro, the HAVE_SYMVER_ALIAS_SUPPORT configure check passes, but
Browse files Browse the repository at this point in the history
the linker will fail during build. Forcibly #undef it.
  • Loading branch information
schmonz committed Jan 12, 2022
1 parent 667ba51 commit 070541a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion devel/libidn2/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -22,6 +22,14 @@ CONFIGURE_ENV+= ac_cv_prog_GTKDOC_CHECK= \
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"
Expand Down

0 comments on commit 070541a

Please sign in to comment.