Author: jelmer
Date: 2005-10-21 18:10:45 +0000 (Fri, 21 Oct 2005)
New Revision: 11245

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11245

Log:
Hopefully fix heimdal build on some hosts
Fix manpage locations

Modified:
   branches/SAMBA_4_0/source/build/smb_build/makefile.pm
   branches/SAMBA_4_0/source/script/cflags.sh


Changeset:
Modified: branches/SAMBA_4_0/source/build/smb_build/makefile.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/makefile.pm       2005-10-21 
16:29:54 UTC (rev 11244)
+++ branches/SAMBA_4_0/source/build/smb_build/makefile.pm       2005-10-21 
18:10:45 UTC (rev 11245)
@@ -191,7 +191,7 @@
        my @mp_list = ();
 
        foreach (values %$ctx) {
-               push (@mp_list, $_->{MANPAGE}) if (defined($_->{MANPAGE}) and 
$_->{MANPAGE} ne "");
+               push (@mp_list, "$_->{BASEDIR}/$_->{MANPAGE}") if 
(defined($_->{MANPAGE}) and $_->{MANPAGE} ne "");
        }
        
        my $mp = array2oneperline([EMAIL PROTECTED]);

Modified: branches/SAMBA_4_0/source/script/cflags.sh
===================================================================
--- branches/SAMBA_4_0/source/script/cflags.sh  2005-10-21 16:29:54 UTC (rev 
11244)
+++ branches/SAMBA_4_0/source/script/cflags.sh  2005-10-21 18:10:45 UTC (rev 
11245)
@@ -11,7 +11,7 @@
     NAME=$1
     (
      while read tag flags; do
-        if [ "$tag" = "$NAME" ]; then
+        if [ "$tag" = "$NAME" ] || [ "./$tag" = "$NAME" ]; then
             echo "$flags"
             exit 0;
         fi

Reply via email to