From owner-freebsd-gnome Sat Mar 23 21: 2:44 2002 Delivered-To: freebsd-gnome@freebsd.org Received: from gyros.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by hub.freebsd.org (Postfix) with ESMTP id BCED137B417 for ; Sat, 23 Mar 2002 21:02:29 -0800 (PST) Received: (from marcus@localhost) by gyros.marcuscom.com (8.11.6/8.11.6) id g2O524c00317; Sun, 24 Mar 2002 00:02:04 -0500 (EST) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to marcus@marcuscom.com using -f Subject: Re: mozilla freebsd port From: Joe Marcus Clarke To: dmagda@ee.ryerson.ca Cc: gnome@FreeBSD.ORG In-Reply-To: <20020323200055.A54523@number6.magda.ca> References: <20020323105016.A37809@number6.magda.ca> <1016900918.3942.2.camel@shumai.marcuscom.com> <20020323200055.A54523@number6.magda.ca> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-1eTPm78cTydnw/Dn7Iia" X-Mailer: Evolution/1.0.2 Date: 24 Mar 2002 00:02:04 -0500 Message-Id: <1016946124.259.7.camel@gyros.marcuscom.com> Mime-Version: 1.0 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 --=-1eTPm78cTydnw/Dn7Iia Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2002-03-23 at 20:00, David Magda wrote: >=20 > Oops. I didn't realize gnome@ has a mailing list. :> >=20 > 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/mozill= a'? > > > > A PR for this was submitted last week by Alen Eldridge. You should be > > able to search for it. >=20 > Yes I found it. The tracker is "ports/35980". >=20 > > Could you submit patches? >=20 > 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. >=20 > ----- CUT HERE ----- >=20 > --- 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=3D${LOCALBASE} \ > --with-system-png=3D${LOCALBASE} \ > --with-pthreads > + > +# LDAP is only used with mail and news so disable both together > +.if defined(WITHOUT_MAILNEWS) > +CONFIGURE_ARGS+=3D --disable-mailnews --disable-ldap > +.else > +# wants mail and news, but not LDAP > +.if defined(WITHOUT_LDAP) > +CONFIGURE_ARGS+=3D --disable-ldap > +.endif > +.endif > + > .if !defined(WITHOUT_CHATZILLA) > CONFIGURE_ARGS+=3D --enable-extensions=3Ddefault,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 > =20 > .include >=20 > ----- CUT HERE ----- >=20 > 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.=20 >=20 > 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]: You can use a PLIST_SUB to conditionally turn files "on and off" in pkg-plist. Have a look at net/netatalk (among others) for an example. Joe [snip] --=-1eTPm78cTydnw/Dn7Iia Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEABECAAYFAjydXcsACgkQb2iPiv4Uz4dypgCgrw96pTxLXZzDN7zmEyfgEidP YssAn1EXnNk372bg/G8I0iwRkx/UDp+W =Nr1h -----END PGP SIGNATURE----- --=-1eTPm78cTydnw/Dn7Iia-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message