Received: by mail.netbsd.org (Postfix, from userid 605) id 3D9AC84D90; Sun, 29 Dec 2019 21:47:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id B9BEC84D50 for ; Sun, 29 Dec 2019 21:47:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hlSCtcrqnF8W for ; Sun, 29 Dec 2019 21:47:00 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 192DF84CD4 for ; Sun, 29 Dec 2019 21:47:00 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 12DF2FA97; Sun, 29 Dec 2019 21:47:00 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1577656020112870" MIME-Version: 1.0 Date: Sun, 29 Dec 2019 21:47:00 +0000 From: "Sijmen J. Mulder" Subject: CVS commit: pkgsrc/devel/mustach To: pkgsrc-changes@NetBSD.org Reply-To: sjmulder@netbsd.org X-Mailer: log_accum Message-Id: <20191229214700.12DF2FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1577656020112870 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: sjmulder Date: Sun Dec 29 21:47:00 UTC 2019 Modified Files: pkgsrc/devel/mustach: Makefile Log Message: devel/mustach: set install_name to fix macOS build To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/mustach/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1577656020112870 Content-Disposition: inline Content-Length: 983 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/mustach/Makefile diff -u pkgsrc/devel/mustach/Makefile:1.2 pkgsrc/devel/mustach/Makefile:1.3 --- pkgsrc/devel/mustach/Makefile:1.2 Wed Dec 25 17:34:31 2019 +++ pkgsrc/devel/mustach/Makefile Sun Dec 29 21:46:59 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2019/12/25 17:34:31 sjmulder Exp $ +# $NetBSD: Makefile,v 1.3 2019/12/29 21:46:59 sjmulder Exp $ DISTNAME= mustach-0.99 PKGREVISION= 1 @@ -15,5 +15,15 @@ LICENSE= apache-2.0 # Workaround is portable, might as well use it everywhere. CFLAGS+= -DNO_OPEN_MEMSTREAM +# install_name must be set on macOS. Upstream PR: +# https://gitlab.com/jobol/mustach/merge_requests/16 +.if ${OPSYS} == "Darwin" +.PHONY: fix-darwin-install-name +post-install: fix-darwin-install-name +fix-darwin-install-name: + install_name_tool -id ${PREFIX}/lib/libmustach.so \ + ${DESTDIR}${PREFIX}/lib/libmustach.so +.endif + .include "../../textproc/json-c/buildlink3.mk" .include "../../mk/bsd.pkg.mk" --_----------=_1577656020112870--