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.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to