[OpenWrt-Tickets] [OpenWrt] #2037: samba compile on mac osx cannot determine host system

OpenWrt openwrt-devel at lists.openwrt.org
Fri Mar 28 15:29:32 CET 2008


#2037: samba compile on mac osx cannot determine host system
---------------------------------+------------------------------------------
 Reporter:  hanicka at hanicka.net  |        Owner:  blogic
     Type:  defect               |       Status:  new   
 Priority:  high                 |    Milestone:        
Component:  packages             |   Resolution:        
 Keywords:                       |  
---------------------------------+------------------------------------------
Comment (by anonymous):

 The packages/net/samba/Makefile configure call is strange, it is a mystery
 to me how this call can work on any platform. I'd suggest this patch.
 Beware that the package has more issues, though. How did anyone ever
 succeed compiling this???

 --- Makefile    2008-03-28 14:55:51 +0100
 +++ Makefile.new        2008-03-28 15:09:04 +0100
 @@ -58,7 +58,7 @@
         rm -rf $(PKG_INSTALL_DIR)
         mkdir -p $(PKG_INSTALL_DIR)
         (cd $(PKG_BUILD_DIR)/source ; rm -rf config.{cache,status} ; \
 -               ./configure \
 +               $(call Build/Configure/default, \
                         --program-prefix="" \
                         --program-suffix="" \
                         --prefix=/usr \
 @@ -77,7 +77,7 @@
                         $(DISABLE_NLS) \
                         --with-lockdir=/var/run/samba \
                         --with-privatedir=/etc/samba \
 -       );
 +       ));
         $(MAKE) -C $(PKG_BUILD_DIR)/source \
                 bin/make_smbcodepage bin/make_unicodemap
         (cd $(PKG_BUILD_DIR)/source/bin ; \

-- 
Ticket URL: <https://dev.openwrt.org/ticket/2037#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology


More information about the openwrt-tickets mailing list