summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2020-04-22 06:45:43 +0000
committertriaxx <triaxx@pkgsrc.org>2020-04-22 06:45:43 +0000
commit41890815bb2ffb8408635bbeae8391788247cbc8 (patch)
tree9a8a377ebbed0021e879af7762ecf69226b38dfb /devel
parentab85ff7298f55a3a6b0d6a3c956999b13724b72e (diff)
downloadpkgsrc-41890815bb2ffb8408635bbeae8391788247cbc8.tar.gz
glib2: fix PR pkg/54752
pkgsrc changes: --------------- * Disallow undefined symbols when linking on FreeBSD. This solution was chosen because (1) the FreeBSD CI machine of the glib developpers use it and (2) it avoids to maintain a patch. * Bump revision.
Diffstat (limited to 'devel')
-rw-r--r--devel/glib2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index 89b5d23e9b8..74f8beb0594 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.272 2020/04/12 10:39:31 adam Exp $
+# $NetBSD: Makefile,v 1.273 2020/04/22 06:45:43 triaxx Exp $
.include "Makefile.common"
+PKGREVISION= 1
CATEGORIES= devel gnome
COMMENT= Some useful routines for C programming (glib2)
@@ -10,6 +11,9 @@ COMMENT= Some useful routines for C programming (glib2)
MESON_ARGS+= -Dinstalled_tests=false
# Avoid linux dependency on libmount-dev
MESON_ARGS+= -Dlibmount=disabled
+.if ${OPSYS} == "FreeBSD"
+MESON_ARGS+= -Db_lundef=false
+.endif
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/gio:${WRKSRC}/output/glib:${WRKSRC}/output/gobject:${WRKSRC}/output/gmodule