From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 20 13:52:16 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9561516A4D3 for ; Fri, 20 Feb 2004 13:52:16 -0800 (PST) Received: from chortos.wingnet.net (chortos.wingnet.net [206.30.57.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 328E043D1F for ; Fri, 20 Feb 2004 13:52:16 -0800 (PST) (envelope-from jesse@wingnet.net) Received: (qmail 59831 invoked by uid 3848); 20 Feb 2004 21:52:12 -0000 Received: from jesse@wingnet.net by chortos.wingnet.net by uid 1003 with qmail-scanner-1.20 (clamuko: 0.60. Clear:RC:1(206.30.215.5):. Processed in 0.040392 secs); 20 Feb 2004 21:52:12 -0000 X-Qmail-Scanner-Mail-From: jesse@wingnet.net via chortos.wingnet.net X-Qmail-Scanner: 1.20 (Clear:RC:1(206.30.215.5):. Processed in 0.040392 secs) Received: from makrothumia.wingnet.net (HELO 192.168.1.47) (206.30.215.5) by chortos.wingnet.net with SMTP; 20 Feb 2004 21:52:11 -0000 From: Jesse Guardiani Organization: WingNET To: freebsd-gnats-submit@FreeBSD.org, sixxgate@yahoo.com Date: Fri, 20 Feb 2004 16:52:09 -0500 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402201652.09685.jesse@wingnet.net> cc: freebsd-ports-bugs@freebsd.org Subject: Re: ports/62993: PORT BUG: firefox-0.8_4 fails 'make install' with Error Code 2 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 21:52:16 -0000 I ran into this problem when I was trying to compile my Firefox two days ago too. I'm running 5.2.1-RC2. Apparently sort and cpio don't exist as variables in the root port makefile. I fixed it with the following patch to the Firefox port's Makefile: --- Makefile.orig Fri Feb 20 16:32:54 2004 +++ Makefile Wed Feb 18 16:37:47 2004 @@ -146,18 +146,18 @@ .for ii in firefox Firefox firefox-config ${EXTRA_SCRIPTS} @${ECHO_CMD} bin/${ii} >> ${PLIST} .endfor - @cd ${FAKEDIR} && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \ - ${FIND} * -type d -empty | ${SORT} | ${SED} -e \ + @cd ${FAKEDIR} && ${FIND} * ! -type d | sort >> ${PLIST}; \ + ${FIND} * -type d -empty | sort | ${SED} -e \ "s:^:@exec ${MKDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \ - ${FIND} * -type d -empty | ${SORT} -r | ${SED} -e \ + ${FIND} * -type d -empty | sort -r | ${SED} -e \ "s:^:@unexec ${RMDIR} %D/:" -e "s:$$: || true:" >> ${PLIST}; \ - ${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm :" | \ + ${FIND} * -type d ! -empty | sort -r | ${SED} -e "s:^:@dirrm :" | \ ${GREP} / >> ${PLIST} do-install: # This is the actual installation. First, the contents of FAKEDIR are # just copied to PREFIX. - cd ${FAKEDIR} && ${FIND} * | ${CPIO} -dmp --quiet ${PREFIX} + cd ${FAKEDIR} && ${FIND} * | cpio -dmp --quiet ${PREFIX} post-install: .for i in ${EXTRA_SCRIPTS} -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net