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

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to