[Bug 210110] cad/qcad remove wrongly used PLIST_SUB from pkg-plist
Walter Schwarzenfeld
w.schwarzenfeld at utanet.at
Thu Jun 9 16:05:24 UTC 2016
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.
More information about the freebsd-ports
mailing list