[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ZMailer and perl mailq



On Fri, Sep 19, 2003 at 07:55:32PM +0200, Xose Vazquez Perez wrote:
> hi,
> 
> patch for zmailer-2.99.56.pre9/utils/perl/Makefile.in:
> 
> The correct place for PREFIX is with "perl Makefile.PL"
> and in compilation time. With "make install"(installation time),
> PREFIX has not effect.

I disagree.   It did most definitely have effect at Solaris 8
system where I used this thing.

What apparently isn't possible with perl is GNU Autoconf
environment's DESTDIR= thing to be used for virtual-root
installation.  Nor anything else that is easily recyclable
to that use.  Recycling PREFIX for that is wrong thing.

Also, the PREFIX production in Makefile without consulting
chosen perl's real prefix value (rather difficult to get that)
is rather dumb thing to do..

There are several inconveniences in perl's way of packing
modules.   But this isn't the place for that thing..

> and patch for zmailer-2.99.56.pre9/configure.in:
>   --with-perl-installdirs didn't work, now it's ok

Weird..    Darn!  Missing comma!

> -thanks-
> -- 
> Que trabajen los romanos, que tienen el pecho de lata.
> 

> --- zmailer-2.99.56.pre9/utils/perl/Makefile.in	2003-09-10 00:28:37.000000000 +0200
> +++ zmailer-2.99.56.pre9.new/utils/perl/Makefile.in	2003-09-19 14:56:40.000000000 +0200
> @@ -31,12 +31,12 @@
>  all:	mailq/Makefile
>  
>  install: mailq/Makefile
> -	cd mailq && $(MAKE) $(MFLAGS) install PREFIX="${DESTDIR}/usr" @PERLINSTALLDIRS@
> +	cd mailq && $(MAKE) $(MFLAGS) install
>  
>  mailq/Makefile:
>  	if [ ! -d mailq ] ; then mkdir mailq ; fi
>  	if [ ! -f mailq/Makefile.PL ] ; then cp -pr $(srcdir)/mailq/* mailq/ ; fi
> -	cd mailq && $(PERL) Makefile.PL @PERLINSTALLDIRS@ && $(MAKE) $(MFLAGS)
> +	cd mailq && $(PERL) Makefile.PL PREFIX=@PERLINSTALLDIRS@ INSTALLDIRS=vendor && $(MAKE) $(MFLAGS)
>  
>  .c.o:
> 

> --- zmailer-2.99.56.pre9/configure.in	2003-09-10 00:28:36.000000000 +0200
> +++ zmailer-2.99.56.pre9.new/configure.in	2003-09-19 17:16:17.000000000 +0200
> @@ -156,7 +156,7 @@
>  PERLINSTALLDIRS=""
>  AC_ARG_WITH(perl-installdirs, [  --with-perl-installdirs=\"INSTALLDIRS=vendor\"
>                               Perl module installation thingie.]
> -        use_perlinstalldirs=1, use_perlinstalldirs=0)
> +        use_perlinstalldirs=0, use_perlinstalldirs=1)
>  if test "$use_perlinstalldirs" = 1; then
>    PERLINSTALLDIRS="$withval"
>  fi

-- 
/Matti Aarnio	<mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi