question about Makefile from net/abills
Jochen Neumeister
jochen at jochen-neumeister.de
Fri Aug 19 09:59:30 UTC 2016
Hi there,
I'm just trying to port net/abills.
Now, i testing the port with portlint:
# portlint
WARN: Makefile: possible use of absolute pathname "/usr/abills".
WARN: Makefile: possible use of absolute pathname "/usr/bin/perl".
0 fatal errors and 2 warnings found.
Now my question: how can I write the Makefile otherwise it is ok?
Here are the part in the Makefile:
post-patch:
@${GREP} -lR "/usr/abills" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/abills|${PREFIX}/abills|g'
@${GREP} -lR "/usr/bin/perl" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/bin/perl|${PERL}|g'
Best regards
Jochen
More information about the freebsd-ports
mailing list