From owner-freebsd-ports@freebsd.org Fri Aug 19 09:59:30 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B686BBF02D for ; Fri, 19 Aug 2016 09:59:30 +0000 (UTC) (envelope-from jochen@jochen-neumeister.de) Received: from dd36626.kasserver.com (dd36626.kasserver.com [85.13.153.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4584A1E3F for ; Fri, 19 Aug 2016 09:59:30 +0000 (UTC) (envelope-from jochen@jochen-neumeister.de) Received: from dagobert.home.jochen-neumeister.de (p548940C4.dip0.t-ipconnect.de [84.137.64.196]) by dd36626.kasserver.com (Postfix) with ESMTPSA id C5FBD2E0094E for ; Fri, 19 Aug 2016 11:59:21 +0200 (CEST) To: "freebsd-ports@freebsd.org" From: Jochen Neumeister Subject: question about Makefile from net/abills Message-ID: <48be4748-0016-f0e0-5fd2-bd40c329d2ad@jochen-neumeister.de> Date: Fri, 19 Aug 2016 11:59:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2016 09:59:30 -0000 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