Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Mar 2002 14:50:23 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        FreeBSD Bugs <freebsd-gnats-submit@freebsd.org>
Cc:        sobomax@freebsd.org, FreeBSD Ports List <ports@freebsd.org>
Subject:   Re: ports/35980: www/mozilla{,-headers}: installs incorrectly if *built* as non-root
Message-ID:  <20020316195023.GA67905@wwweasel.geeksrus.net>
In-Reply-To: <200203161410.g2GEA2Y79733@freefall.freebsd.org>
References:  <200203161405.g2GE5hU15481@wwweasel.geeksrus.net> <200203161410.g2GEA2Y79733@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This problem affects www/mozilla-embedded as well:

Patch is:
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--
Index: www/mozilla-embedded/Makefile
===================================================================
RCS file: /home/alane/cvsroot/ports/www/mozilla-embedded/Makefile,v
retrieving revision 1.13
diff -u -3 -r1.13 Makefile
--- www/mozilla-embedded/Makefile	5 Feb 2002 17:24:00 -0000	1.13
+++ www/mozilla-embedded/Makefile	16 Mar 2002 19:47:35 -0000
@@ -41,7 +41,7 @@
 do-install:
 	${MKDIR} ${PREFIX}/lib/mozilla-embedded
 	${CHMOD} 755 ${PREFIX}/lib/mozilla-embedded
-	cd ${WRKSRC}/dist/Embed && ${TAR} -chf - * | \
-		${TAR} -xf - -C ${PREFIX}/lib/mozilla-embedded
+	cd ${WRKSRC}/dist/Embed && ${FIND} . | \
+	  cpio -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/mozilla-embedded
 
 .include <bsd.port.mk>
--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

-- 
AlanE
"When the going gets tough, the weird turn pro." - HST


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020316195023.GA67905>