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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Sat, 2002-03-23 at 20:00, David Magda wrote:
>
> 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 <bsd.port.mk>
>
> ----- 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]:
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]
[-- Attachment #2 --]
-----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-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1016946124.259.7.camel>
