Skip site navigation (1)Skip section navigation (2)
Date:      24 Mar 2002 00:02:04 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        dmagda@ee.ryerson.ca
Cc:        gnome@FreeBSD.ORG
Subject:   Re: mozilla freebsd port
Message-ID:  <1016946124.259.7.camel@gyros.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <bsd.port.mk>
>=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




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