Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 904F71A9239 for ; Tue, 28 Dec 2021 19:22:06 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id B410E84D9B; Tue, 28 Dec 2021 19:22:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EE81484D6A for ; Tue, 28 Dec 2021 19:22:04 +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 LDy_hfVW0q_x for ; Tue, 28 Dec 2021 19:22:04 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 4AB3884CDF for ; Tue, 28 Dec 2021 19:22:04 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 3E9A9FAEC; Tue, 28 Dec 2021 19:22:04 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_164071932486370" MIME-Version: 1.0 Date: Tue, 28 Dec 2021 19:22:04 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/print/libharu To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211228192204.3E9A9FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_164071932486370 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Tue Dec 28 19:22:04 UTC 2021 Modified Files: pkgsrc/print/libharu: Makefile Log Message: libharu: fixes for Darwin To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/print/libharu/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_164071932486370 Content-Disposition: inline Content-Length: 1197 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/print/libharu/Makefile diff -u pkgsrc/print/libharu/Makefile:1.1 pkgsrc/print/libharu/Makefile:1.2 --- pkgsrc/print/libharu/Makefile:1.1 Tue May 4 14:12:05 2021 +++ pkgsrc/print/libharu/Makefile Tue Dec 28 19:22:04 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2021/05/04 14:12:05 prlw1 Exp $ +# $NetBSD: Makefile,v 1.2 2021/12/28 19:22:04 adam Exp $ PKGNAME= libharu-2.4.0 DISTNAME= libharu-2.3.0 @@ -19,7 +19,6 @@ LICENSE= zlib USE_CMAKE= yes USE_LANGUAGES= c c++ - CMAKE_ARGS+= -DLIBHPDF_STATIC=OFF PATCH_DIST_STRIP= -p1 @@ -33,7 +32,16 @@ SUBST_SED.version+= -e 's/RC2/dev/' INSTALLATION_DIRS= include lib do-install: ${INSTALL_DATA} ${WRKSRC}/include/*.h ${DESTDIR}${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/src/libhpdf.so ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/src/libhpdf.* ${DESTDIR}${PREFIX}/lib + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Darwin" +post-install: fix-darwin-install-name +fix-darwin-install-name: + install_name_tool -id ${PREFIX}/lib/libhpdf.dylib \ + ${DESTDIR}${PREFIX}/lib/libhpdf.dylib +.endif .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" --_----------=_164071932486370--