ports/62993: PORT BUG: firefox-0.8_4 fails 'make install' with Error Code 2

Jesse Guardiani jesse at wingnet.net
Fri Feb 20 14:00:40 PST 2004


The following reply was made to PR ports/62993; it has been noted by GNATS.

From: Jesse Guardiani <jesse at wingnet.net>
To: freebsd-gnats-submit at FreeBSD.org, sixxgate at yahoo.com
Cc: freebsd-ports-bugs at 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
 
 


More information about the freebsd-gnome mailing list