Received: by mail.netbsd.org (Postfix, from userid 605) id 75DA784D9E; Mon, 11 May 2020 20:52:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F31F184D81 for ; Mon, 11 May 2020 20:52:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id bEFMDy99UMdl for ; Mon, 11 May 2020 20:52:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6D54484CE7 for ; Mon, 11 May 2020 20:52:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 66BECFB27; Mon, 11 May 2020 20:52:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1589230365178100" MIME-Version: 1.0 Date: Mon, 11 May 2020 20:52:45 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/devel/editline To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20200511205245.66BECFB27@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. --_----------=_1589230365178100 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Mon May 11 20:52:45 UTC 2020 Modified Files: pkgsrc/devel/editline: Makefile distinfo Added Files: pkgsrc/devel/editline/patches: patch-libedit.pc.in Log Message: editline: adjust libedit.pc file due to BUILDLINK_FNAME_TRANSFORM We have questionable BUILDLINK_FNAME_TRANSFORMs in the bl3.mk that transform include/editline/readline.h into include/readline/readline.h. So if libedit.pc file says to use -I${PREFIX}/include/editline that works fine when building stuff outside of pkgsrc but not inside of pkgsrc. Workaround is to put both -I${PREFIX}/include/editline and -I${PREFIX}/include/readline in the pc file, in that order of preference. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/editline/Makefile cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/editline/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/editline/patches/patch-libedit.pc.in Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1589230365178100 Content-Disposition: inline Content-Length: 2264 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/editline/Makefile diff -u pkgsrc/devel/editline/Makefile:1.10 pkgsrc/devel/editline/Makefile:1.11 --- pkgsrc/devel/editline/Makefile:1.10 Mon Mar 23 09:34:27 2020 +++ pkgsrc/devel/editline/Makefile Mon May 11 20:52:45 2020 @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.10 2020/03/23 09:34:27 tnn Exp $ +# $NetBSD: Makefile,v 1.11 2020/05/11 20:52:45 tnn Exp $ # DISTNAME= libedit-20191231-3.1 PKGNAME= editline-3.1.20191231 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= http://thrysoee.dk/editline/ Index: pkgsrc/devel/editline/distinfo diff -u pkgsrc/devel/editline/distinfo:1.12 pkgsrc/devel/editline/distinfo:1.13 --- pkgsrc/devel/editline/distinfo:1.12 Wed May 6 20:55:38 2020 +++ pkgsrc/devel/editline/distinfo Mon May 11 20:52:45 2020 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2020/05/06 20:55:38 adam Exp $ +$NetBSD: distinfo,v 1.13 2020/05/11 20:52:45 tnn Exp $ SHA1 (libedit-20191231-3.1.tar.gz) = 44891b6ceb0429fec0a118a1245c605410571d7d RMD160 (libedit-20191231-3.1.tar.gz) = a0e32d4bbb896b6f7e6567902e4205f2e435cd26 @@ -7,5 +7,6 @@ Size (libedit-20191231-3.1.tar.gz) = 516 SHA1 (patch-Makefile.am) = c9c49476fcff0da3363874795fcf4b6ebd0f59de SHA1 (patch-ab) = 18297f76965ecd56834c94f6c9f780d3e05a44d8 SHA1 (patch-ac) = 666403d5ef03fea39081d7a657aefaa91746f788 +SHA1 (patch-libedit.pc.in) = c2c810ab2c9c7b9d1862abc7bdca53fda5732119 SHA1 (patch-src_sys.h) = 3c1f69b520b382e3a0308e7f8ffaddca65d91a8d SHA1 (patch-src_terminal.h) = 5d658f7b7c3b88c0c3122a1be740f3a72d7d2370 Added files: Index: pkgsrc/devel/editline/patches/patch-libedit.pc.in diff -u /dev/null pkgsrc/devel/editline/patches/patch-libedit.pc.in:1.1 --- /dev/null Mon May 11 20:52:45 2020 +++ pkgsrc/devel/editline/patches/patch-libedit.pc.in Mon May 11 20:52:45 2020 @@ -0,0 +1,13 @@ +$NetBSD: patch-libedit.pc.in,v 1.1 2020/05/11 20:52:45 tnn Exp $ + +Needed due to BUILDLINK_FNAME_TRANSFORM in bl3.mk. + +--- libedit.pc.in.orig 2018-05-25 17:50:45.000000000 +0000 ++++ libedit.pc.in +@@ -9,5 +9,5 @@ Version: @VERSION@ + Requires: + Libs: -L${libdir} -ledit + Libs.private: @LIBS@ +-Cflags: -I${includedir} -I${includedir}/editline ++Cflags: -I${includedir} -I${includedir}/editline -I${includedir}/readline + --_----------=_1589230365178100--