pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/inputmethod/ibus
Module Name: pkgsrc
Committed By: nros
Date: Sun Nov 22 17:25:22 UTC 2026
Modified Files:
pkgsrc/inputmethod/ibus: Makefile
Log Message:
ibus: fix build on linkers without relro
ibus adds -Wl,-z,relro when building with
gcc. This causes build failures when gnu
ld is not used. So disable the part that
sets -Wl,-z,relro on systems that do not
support relro.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 pkgsrc/inputmethod/ibus/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/inputmethod/ibus/Makefile
diff -u pkgsrc/inputmethod/ibus/Makefile:1.131 pkgsrc/inputmethod/ibus/Makefile:1.132
--- pkgsrc/inputmethod/ibus/Makefile:1.131 Wed Nov 18 07:41:37 2026
+++ pkgsrc/inputmethod/ibus/Makefile Sun Nov 22 17:25:22 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.131 2026/11/18 07:41:37 adam Exp $
+# $NetBSD: Makefile,v 1.132 2026/11/22 17:25:22 nros Exp $
DISTNAME= ibus-1.5.35
CATEGORIES= inputmethod
@@ -44,6 +44,12 @@ CONFIGURE_ARGS+= --with-ucd-dir=${PREFIX
# XXX lack of dbusmenu-glib
CONFIGURE_ARGS+= --disable-appindicator
+# Some linkers lacks support for -z,relro
+.include "../../mk/bsd.prefs.mk"
+.if empty(_PLATFORM_SUPPORTS_RELRO:Myes)
+CONFIGURE_ARGS+= --disable-product-build
+.endif
+
# avoid generating "*.cpython3*.opt-2.pyc" by -OO on byte compiling
# https://mail-index.netbsd.org/pkgsrc-users/2025/04/17/msg041482.html
SUBST_CLASSES+= pyopt
Home |
Main Index |
Thread Index |
Old Index