Date: Thu, 9 Jun 2016 16:51:20 +0200 From: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> To: freebsd-ports@freebsd.org Subject: Re: [Bug 210110] cad/qcad remove wrongly used PLIST_SUB from pkg-plist Message-ID: <a9711a9b-eeb7-62ab-e581-84ef6eec0678@utanet.at> In-Reply-To: <bug-210110-543-8KzOnO0KWu@https.bugs.freebsd.org/bugzilla/> References: <bug-210110-543-8KzOnO0KWu@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
I know this is not correct, but let's play: do-install: if [ $$(grep -c '%%QT_BINDIR%%' ${PORTSDIR}/cad/qcad/pkg-plist) -ne 0 ]; then ${REINPLACE_CMD} 's/\%\%QT_BINDIR\%\%/bin/g' ${PORTSDIR}/cad/qcad/pkg-plist;fi (but this will replace all occurances of QT_BINDIR in pkg-plist, if necesairely of not. In the moment there are only two, but maybe it will different in the future)..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a9711a9b-eeb7-62ab-e581-84ef6eec0678>