From owner-freebsd-gnome@FreeBSD.ORG Fri Feb 20 14:00:40 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A710116A4CE for ; Fri, 20 Feb 2004 14:00:40 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FFEA43D2F for ; Fri, 20 Feb 2004 14:00:40 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1KM0ebv009856 for ; Fri, 20 Feb 2004 14:00:40 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1KM0eQn009855; Fri, 20 Feb 2004 14:00:40 -0800 (PST) (envelope-from gnats) Date: Fri, 20 Feb 2004 14:00:40 -0800 (PST) Message-Id: <200402202200.i1KM0eQn009855@freefall.freebsd.org> To: gnome@FreeBSD.org From: Jesse Guardiani Subject: Re: ports/62993: PORT BUG: firefox-0.8_4 fails 'make install' with Error Code 2 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jesse Guardiani List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2004 22:00:40 -0000 The following reply was made to PR ports/62993; it has been noted by GNATS. From: Jesse Guardiani To: freebsd-gnats-submit@FreeBSD.org, sixxgate@yahoo.com Cc: freebsd-ports-bugs@freebsd.org Subject: Re: ports/62993: PORT BUG: firefox-0.8_4 fails 'make install' with Error Code 2 Date: Fri, 20 Feb 2004 16:52:09 -0500 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