Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2016 11:59:20 +0200
From:      Jochen Neumeister <jochen@jochen-neumeister.de>
To:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   question about Makefile from net/abills
Message-ID:  <48be4748-0016-f0e0-5fd2-bd40c329d2ad@jochen-neumeister.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48be4748-0016-f0e0-5fd2-bd40c329d2ad>