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

ZMailer and perl mailq



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.

and patch for zmailer-2.99.56.pre9/configure.in:

--with-perl-installdirs didn't work, now it's ok

-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