mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
dovecot, disable static libraries, remove libtool files (#8359)
This commit is contained in:
@@ -7,7 +7,7 @@ uses very little memory."
|
||||
HOMEPAGE="https://dovecot.org/"
|
||||
COPYRIGHT="2002-2016 Timo Sirainen"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://dovecot.org/releases/2.3/dovecot-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="d3d9ea9010277f57eb5b9f4166a5d2ba539b172bd6d5a2b2529a6db524baafdc"
|
||||
PATCHES="dovecot-$portVersion.patchset"
|
||||
@@ -15,6 +15,9 @@ PATCHES="dovecot-$portVersion.patchset"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/dovecot/README auto-merge
|
||||
"
|
||||
@@ -29,8 +32,8 @@ PROVIDES="
|
||||
cmd:dovecot$secondaryArchSuffix = $portVersion
|
||||
cmd:dovecot_sysreport$secondaryArchSuffix = $portVersion
|
||||
cmd:dsync$secondaryArchSuffix = $portVersion
|
||||
lib:libdovecot$secondaryArchSuffix = 0.0.0
|
||||
lib:libdovecot_storage$secondaryArchSuffix = 0.0.0
|
||||
lib:libdovecot$secondaryArchSuffix = $libVersionCompat
|
||||
lib:libdovecot_storage$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -63,12 +66,17 @@ BUILD()
|
||||
export LDFLAGS="-lnetwork"
|
||||
autoreconf -fi
|
||||
CFLAGS=-D_BSD_SOURCE runConfigure ./configure \
|
||||
--libexecdir=$libDir/libexec --with-ssl=openssl \
|
||||
--disable-hardening
|
||||
--libexecdir=$libDir/libexec \
|
||||
--with-ssl=openssl \
|
||||
--disable-hardening \
|
||||
--disable-static
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool files
|
||||
rm -f $libDir/dovecot/{auth/*.la,doveadm/*.la,old-stats/*.la,*.la}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user