svn commit: samba r15099 - in branches/SAMBA_4_0/source: heimdal_build lib/registry script

ab at samba.org ab at samba.org
Mon Apr 17 07:04:56 GMT 2006


Author: ab
Date: 2006-04-17 07:04:56 +0000 (Mon, 17 Apr 2006)
New Revision: 15099

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

Log:
An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
Modified:
   branches/SAMBA_4_0/source/heimdal_build/config.mk
   branches/SAMBA_4_0/source/lib/registry/config.mk
   branches/SAMBA_4_0/source/script/buildtree.pl
   branches/SAMBA_4_0/source/script/cflags.pl


Changeset:
Modified: branches/SAMBA_4_0/source/heimdal_build/config.mk
===================================================================
--- branches/SAMBA_4_0/source/heimdal_build/config.mk	2006-04-16 11:47:26 UTC (rev 15098)
+++ branches/SAMBA_4_0/source/heimdal_build/config.mk	2006-04-17 07:04:56 UTC (rev 15099)
@@ -436,6 +436,9 @@
 .hin.h:
 	@cp $< $@
 
+heimdal/lib/roken/vis.h: heimdal/lib/roken/vis.hin
+heimdal/lib/roken/err.h: heimdal/lib/roken/err.hin
+
 $(patsubst heimdal/lib/des/%.h,heimdal/lib/des/hcrypto/%.h,$(wildcard heimdal/lib/des/*.h)): heimdal/lib/des/hcrypto
 
 heimdal/lib/des/hcrypto: 

Modified: branches/SAMBA_4_0/source/lib/registry/config.mk
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/config.mk	2006-04-16 11:47:26 UTC (rev 15098)
+++ branches/SAMBA_4_0/source/lib/registry/config.mk	2006-04-17 07:04:56 UTC (rev 15099)
@@ -22,7 +22,7 @@
 lib/registry/tdr_regf.c: $(srcdir)/lib/registry/regf.idl
 	@CPP="$(CPP)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
 		--header --outputdir=lib/registry \
-		--tdr-parser -- $^
+		--tdr-parser -- $(srcdir)/lib/registry/regf.idl
 
 clean::
 	@-rm -f lib/registry/regf.h lib/registry/tdr_regf*

Modified: branches/SAMBA_4_0/source/script/buildtree.pl
===================================================================
--- branches/SAMBA_4_0/source/script/buildtree.pl	2006-04-16 11:47:26 UTC (rev 15098)
+++ branches/SAMBA_4_0/source/script/buildtree.pl	2006-04-17 07:04:56 UTC (rev 15099)
@@ -1,5 +1,5 @@
-#! /usr/bin/perl -w
-    eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
+#! /usr/bin/env perl -w
+    eval 'exec /usr/bin/env perl -S $0 ${1+"$@"}'
         if 0; #$running_under_some_shell
 
 use strict;

Modified: branches/SAMBA_4_0/source/script/cflags.pl
===================================================================
--- branches/SAMBA_4_0/source/script/cflags.pl	2006-04-16 11:47:26 UTC (rev 15098)
+++ branches/SAMBA_4_0/source/script/cflags.pl	2006-04-17 07:04:56 UTC (rev 15099)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # This is a hack to allow per target cflags. It isn't very elegant, but it
 # is the most portable idea we have come up with yet



More information about the samba-cvs mailing list