summaryrefslogtreecommitdiff
path: root/devel/dconf
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-20 09:57:10 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-20 09:57:10 +0000
commit67cdb6c33e3d4bd6f71d5b7e21305448771524a7 (patch)
tree9f43f9cb910eea95517dfa8c25b4ec2c7e51404e /devel/dconf
parent2664f3b760b1cb37b69cd96b41767e8fb59ad43d (diff)
downloadpkgsrc-67cdb6c33e3d4bd6f71d5b7e21305448771524a7.tar.gz
Fix install_name on Darwin. Bump PKGREVISION.
Diffstat (limited to 'devel/dconf')
-rw-r--r--devel/dconf/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/dconf/Makefile b/devel/dconf/Makefile
index ac7fa19a2c4..f075db0d3b7 100644
--- a/devel/dconf/Makefile
+++ b/devel/dconf/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2016/02/04 12:13:30 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2016/02/20 09:57:10 jperkin Exp $
-PKGREVISION= 2
+PKGREVISION= 3
.include "Makefile.common"
CONFIGURE_ARGS+= --disable-editor
@@ -14,8 +14,12 @@ BUILDLINK_TRANSFORM+= rm:-ldl
.endif
.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-Wl,-soname=libdconf-dbus-1.so.0
-BUILDLINK_TRANSFORM+= rm:-Wl,-soname=libdconf.so.1
+SUBST_CLASSES+= libname
+SUBST_STAGE.libname= pre-configure
+SUBST_FILES.libname= client/Makefile.in dbus-1/Makefile.in
+SUBST_FILES.libname+= gsettings/Makefile.in
+SUBST_SED.libname= -e "s|-Wl,-soname=|-install_name ${PREFIX}/lib/|g"
+SUBST_SED.libname+= -e "/^libdconfsettings_so_LDFLAGS/s,$$, -install_name ${PREFIX}/lib/gio/modules/libdconfsettings.so,g"
.endif
BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen