From: Andy Dougherty <doughera@lafayette.edu>
Date: Fri, 27 Sep 2002 09:13:29 +0000 (-0400)
Subject: document how to set APPLLIB_EXP
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=24f415b42b16ca2ea955d5f4fc7cc29cb1fc7054;p=p5sagit%2Fp5-mst-13.2.git

document how to set APPLLIB_EXP
Subject: Re: [perl #15957] error installing perl 5.8.0
Message-ID: <Pine.SOL.4.10.10209270902210.6800-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@17957
---

diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod
index a000108..efb9d26 100644
--- a/Porting/pumpkin.pod
+++ b/Porting/pumpkin.pod
@@ -1258,12 +1258,18 @@ a mail message from Larry:
     probably have been named something to do with overriding though.  Since
     it's undocumented we could still change it...  :-)
 
-Given that it's already there, you can use it to override
-distribution modules.  If you do
-
-	sh Configure -Dccflags='-DAPPLLIB_EXP=/my/override'
-
-then perl.c will put /my/override ahead of ARCHLIB and PRIVLIB.
+Given that it's already there, you can use it to override distribution modules.
+One way to do that is to add
+
+	ccflags="$ccflags -DAPPLLIB_EXP='"/my/override"'
+	
+to your config.over file.  (You have to be particularly careful to get the
+double quotes in.  It might actually be easier to just #define it
+yourself in perl.c.)
+
+Then perl.c will put /my/override ahead of ARCHLIB and PRIVLIB.  Perl will
+also search architecture-specific and version-specific subdirectories of
+APPLLIB_EXP.
 
 =head2 Shared libperl.so location