pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gtk3 gtk3: Fix PKGLOCALEDIR and SunOS ld args.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e78269af6023
branches:  trunk
changeset: 391212:e78269af6023
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Jan 05 15:59:58 2023 +0000

description:
gtk3: Fix PKGLOCALEDIR and SunOS ld args.

Also no need to set PKGREVISION twice.

diffstat:

 x11/gtk3/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 4c9d7288b025 -r e78269af6023 x11/gtk3/Makefile
--- a/x11/gtk3/Makefile Thu Jan 05 15:55:38 2023 +0000
+++ b/x11/gtk3/Makefile Thu Jan 05 15:59:58 2023 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.180 2023/01/03 17:36:35 wiz Exp $
+# $NetBSD: Makefile,v 1.181 2023/01/05 15:59:58 jperkin Exp $
 
 DISTNAME=      gtk+-3.24.36
-PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/gtk/gtk3/}
 PKGREVISION=   1
 CATEGORIES=    x11 gnome
@@ -24,13 +23,15 @@
 
 MESON_ARGS+=   -Dgtk_doc=true
 MESON_ARGS+=   -Dman=true
+MESON_ARGS+=   --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
 MESON_ARGS+=   --sysconfdir=${PREFIX}/libdata
 
+BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--export-dynamic
+
 # There is no logic in gettext.mk to detect the native version of xgettext,
 # and we do need it to be compiled with Glade support.
 _TOOLS_USE_PKGSRC.xgettext=    yes
 
-MAKE_ENV+=             PKGLOCALEDIR=${PKGLOCALEDIR}
 TEST_TARGET=           check
 
 PKGCONFIG_OVERRIDE+=   gdk-3.0.pc.in



Home | Main Index | Thread Index | Old Index