Add a prehook for sun8 so that we can fix the bitfield pb with sunstudio
authorMatthieu Patou <mat@matws.net>
Tue, 23 Nov 2010 18:07:04 +0000 (21:07 +0300)
committerMatthieu Patou <mat@matws.net>
Tue, 23 Nov 2010 18:18:42 +0000 (21:18 +0300)
SerNet-solaris8.fns

index 95a85ef1f8957c155bf9cc49ca9650279d5f831a..65fc607efc5708b737a09fa6ae88e8354c41f7b7 100644 (file)
@@ -13,6 +13,18 @@ SAMBA_MAXTIME=18000
 
 LD_LIBRARY_PATH=/usr/local/ssl/lib:/usr/local/lib
 export MAXTIME TORTURE_MAXTIME SMBD_MAXTIME SAMBA_MAXTIME LD_LIBRARY_PATH
+PREHOOKS="configure"
+
+prehook_configure()
+{
+case "$tree" in
+       samba_4*)
+       (cd ${builddir}/..; gpatch -p 1 <$HOME/build_farm/patch
+               ;;
+       *)
+               ;;
+esac
+}
 
 compilers="cc gcc"