pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libidn2



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jan 12 15:21:55 UTC 2022

Modified Files:
        pkgsrc/devel/libidn2: Makefile

Log Message:
With SunPro, the HAVE_SYMVER_ALIAS_SUPPORT configure check passes, but
the linker will fail during build. Forcibly #undef it.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/libidn2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libidn2/Makefile
diff -u pkgsrc/devel/libidn2/Makefile:1.10 pkgsrc/devel/libidn2/Makefile:1.11
--- pkgsrc/devel/libidn2/Makefile:1.10  Thu Jul 29 10:24:49 2021
+++ pkgsrc/devel/libidn2/Makefile       Wed Jan 12 15:21:54 2022
@@ -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 @@ 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"



Home | Main Index | Thread Index | Old Index