Date: Thu, 9 Jun 2016 18:05:15 +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: <65c89765-dce0-3ab8-52bb-8000fee36b97@utanet.at> In-Reply-To: <bug-210110-543-TkgJHWlDP1@https.bugs.freebsd.org/bugzilla/> References: <bug-210110-543-TkgJHWlDP1@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
No.. you can't avoid it this way. It changes pkg-ülist after makeplist makes it. The replacement is only for you, if you want it.. (You can change it to do-install: if [ $$(grep -c '%%QT_BINDIR%%' ${PORTSDIR}/cad/qcad/pkg-plist) -ne 0 ]; then ${REINPLACE_CMD} '1,2s/\%\%QT_BINDIR\%\%/bin/g' ${PORTSDIR}/cad/qcad/pkg-plist;fi so it only changes the first two lines) QT_PREFIX and QT_BINDIR are defined and set in bsd.qt.mk. But it makes no sense. Every update you have other files and pathes in the pkg-plist. And as someone write abobe, you have always look in pkg-plist, if everythins is right. Neither makeplist nor genplist iare working 100% correct. There are always lines you have to correct per hand.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65c89765-dce0-3ab8-52bb-8000fee36b97>