mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
samba: fix build
Had to add --disable-swat when configuring and libcrypto as build dependency to make it compile for _x86. Thanks Jua for those hints! Fixes #1507
This commit is contained in:
@@ -11,7 +11,7 @@ or server as if it were a Windows file and print server."
|
||||
HOMEPAGE="http://www.samba.org/"
|
||||
COPYRIGHT="1992-2015 Anrew Tridgell and the Samba Team"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="4"
|
||||
REVISION="5"
|
||||
SOURCE_URI="http://ftp.samba.org/pub/samba/samba-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751"
|
||||
PATCHES="samba-3.6.23.patchset"
|
||||
@@ -85,6 +85,7 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
@@ -108,7 +109,8 @@ BUILD()
|
||||
{
|
||||
cd source3
|
||||
sed -i 's/| \*qnx\*/| \*qnx\* | haiku\*/g' configure
|
||||
LDFLAGS="-lnetwork -lbnetapi" CFLAGS="-D_BSD_SOURCE" runConfigure ./configure --disable-swat \
|
||||
LDFLAGS="-lnetwork -lbnetapi" CFLAGS="-D_BSD_SOURCE" runConfigure ./configure \
|
||||
--disable-swat --disable-pie \
|
||||
--with-configdir=$settingsDir/samba \
|
||||
--with-privatedir=$settingsDir/samba \
|
||||
--with-localedir=$dataRootDir/locale \
|
||||
|
||||
Reference in New Issue
Block a user