From owner-freebsd-gnome Sat Mar 23 17: 1:12 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from tomts20-srv.bellnexxia.net (tomts20.bellnexxia.net [209.226.175.74]) by hub.freebsd.org (Postfix) with ESMTP id E7B3E37B404 for ; Sat, 23 Mar 2002 17:01:04 -0800 (PST) Received: from number6.magda.ca ([64.229.177.69]) by tomts20-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020324010058.YGVG26555.tomts20-srv.bellnexxia.net@number6.magda.ca>; Sat, 23 Mar 2002 20:00:58 -0500 Received: (from dmagda@localhost) by number6.magda.ca (8.11.6/8.11.6) id g2O10vX54838; Sat, 23 Mar 2002 20:00:57 -0500 (EST) (envelope-from dmagda) Date: Sat, 23 Mar 2002 20:00:57 -0500 From: David Magda To: Joe Clarke Cc: gnome@freebsd.org Subject: Re: mozilla freebsd port Message-ID: <20020323200055.A54523@number6.magda.ca> Reply-To: dmagda@ee.ryerson.ca References: <20020323105016.A37809@number6.magda.ca> <1016900918.3942.2.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1016900918.3942.2.camel@shumai.marcuscom.com>; from marcus@marcuscom.com on Sat, Mar 23, 2002 at 11:28:38AM -0500 Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Oops. I didn't realize gnome@ has a mailing list. :> On Sat, Mar 23, 2002 at 11:28:38AM -0500, Joe Clarke wrote: > > to the final destination using tar(1). Could you add a Makefile knob > > which, if defined, would do a 'chown -R ${OWNER} ${PREFIX}/lib/mozilla'? > > A PR for this was submitted last week by Alen Eldridge. You should be > able to search for it. Yes I found it. The tracker is "ports/35980". > Could you submit patches? Here's the output from a 'diff -u'. In the patch I've also included a ${CHOWN} to deal with the ownership issue. I've used the ${BINOWN} ${BINGRP} which I found in /usr/share/mk/bsd.own.mk. They can be changed at run time to whatever the installer wants. I do not know how this patch will effect the mozilla-{headers,embedded} ports. ----- CUT HERE ----- --- Makefile.orig Sat Mar 23 12:50:46 2002 +++ Makefile Sat Mar 23 19:39:33 2002 @@ -47,8 +47,6 @@ --enable-double-buffer \ --enable-dtd-debug \ --enable-jsd \ - --enable-ldap \ - --enable-mailnews \ --enable-mathml \ --disable-md \ --disable-optimize \ @@ -64,6 +62,17 @@ --with-system-mng=${LOCALBASE} \ --with-system-png=${LOCALBASE} \ --with-pthreads + +# LDAP is only used with mail and news so disable both together +.if defined(WITHOUT_MAILNEWS) +CONFIGURE_ARGS+= --disable-mailnews --disable-ldap +.else +# wants mail and news, but not LDAP +.if defined(WITHOUT_LDAP) +CONFIGURE_ARGS+= --disable-ldap +.endif +.endif + .if !defined(WITHOUT_CHATZILLA) CONFIGURE_ARGS+= --enable-extensions=default,irc,xmlterm .endif @@ -91,5 +100,6 @@ ${INSTALL_SCRIPT} ${WRKSRC}/mozilla ${PREFIX}/bin ${LN} -sf ${LOCALBASE}/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so \ ${PREFIX}/lib/mozilla/plugins/libjavaplugin_oji.so + ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/lib/mozilla .include ----- CUT HERE ----- There is an issue with 'make deinstall' that I don't know how to deal with due to my lack of experience with the ports infrastructure. It's probably due to the fact that some of the files in 'pkg-plist' are not installed anymore. If you do a 'make -DWITHOUT_LDAP build install', and then do a 'make deinstall' you get the following error messages [lines wrapped for neatness]: pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmozldap.so' doesn't reall y exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/mozldap.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/ nsLDAPPrefsService.js' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/dirver' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/liblber40.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/libldap40.so' doesn't really exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) And if you do a 'make -DWITHOUT_MAILNEWS build install', and then do a 'make deinstall' you get [neatness again, sorry for length]: pkg_delete: file `/usr/X11R6/lib/mozilla/chrome/messenger.jar' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/chrome/overlayinfo/editor/ content/overlays.rdf' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/absync.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/addrbook.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/import.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libabsyncsvc.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libaddrbook.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libimpText.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libimport.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/liblocalmail.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmailnews.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmime.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmimeemitter.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmozldap.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmsgcompose.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmsgdb.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmsgimap.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmsgnews.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libmsgsmime.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/libvcard.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/mailnews.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/mime.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/mozldap.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgbase.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgcompose.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgdb.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgimap.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msglocal.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgnews.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgsearch.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/msgsmime.xpt' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/nsLDAPPrefsService.js' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/components/smime-service.js' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/defaults/pref/smime.js' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/dirver' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/liblber40.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/libldap40.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/libmsgbaseutil.so' doesn't really exist pkg_delete: file `/usr/X11R6/lib/mozilla/chrome/overlayinfo/ editor/content' doesn't really exist pkg_delete: unable to completely remove directory '/usr/X11R6/lib/ mozilla/chrome/overlayinfo/editor/content' pkg_delete: file `/usr/X11R6/lib/mozilla/chrome/overlayinfo/editor' doesn't really exist pkg_delete: unable to completely remove directory '/usr/X11R6/lib/ mozilla/chrome/overlayinfo/editor' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message