From owner-freebsd-ports@freebsd.org Fri Jun 8 01:18:15 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15247100AD4A for ; Fri, 8 Jun 2018 01:18:15 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (unknown [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C3EF6A306 for ; Fri, 8 Jun 2018 01:18:14 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w581I2kI072805 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Jun 2018 03:18:02 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: duckmanjbr@gmail.com Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w581HpO9029546 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 8 Jun 2018 08:17:51 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: make package "*** Error code 1" To: duckmanjbr , freebsd-ports@freebsd.org References: <1528418192403-0.post@n6.nabble.com> <1528418530493-0.post@n6.nabble.com> <1528420181359-0.post@n6.nabble.com> <0FB42264-1C8A-46AE-B162-74EDD226F294@gmail.com> From: Eugene Grosbein Message-ID: <5B19D938.4010205@grosbein.net> Date: Fri, 8 Jun 2018 08:17:44 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <0FB42264-1C8A-46AE-B162-74EDD226F294@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -0.0 SPF_PASS SPF: sender matches SPF record * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2018 01:18:15 -0000 08.06.2018 8:12, duckmanjbr wrote: > do-install: > ${MKDIR} ${STAGEDIR}${PREFIX}/pkg > ${MKDIR} ${STAGEDIR}${PREFIX}/bin/localrepo > ${MKDIR} ${STAGEDIR}/etc/inc/priv > ${MKDIR} ${STAGEDIR}${DATADIR} > ${INSTALL_DATA} -m 0644 ${FILESDIR}${PREFIX}/pkg/localrepo.xml \ > ${STAGEDIR}${PREFIX}/pkg > ${INSTALL_DATA} ${FILESDIR}${PREFIX}/pkg/localrepo.inc \ > ${STAGEDIR}${PREFIX}/pkg > ${INSTALL_DATA} ${FILESDIR}${PREFIX}/bin/localrepo/localrepo.conf \ > ${STAGEDIR}${PREFIX}/bin/localrepo > ${INSTALL_DATA} ${FILESDIR}/etc/inc/priv/localrepo.priv.inc \ > ${STAGEDIR}/etc/inc/priv > ${INSTALL_DATA} ${FILESDIR}${DATADIR}/info.xml \ > ${STAGEDIR}${DATADIR}/info.xml > @${REINPLACE_CMD} -i '' -e "s|%%PKGVERSION%%|${PKGVERSION}|" \ > > .include Here is obvious bug: the line with REINPLACE_CMD has continuation backslash without any continuation text and without file name to process. Fix it.