move echo ... to PATCH() (#4336)

This commit is contained in:
Schrijvers Luc
2019-11-03 08:47:08 +01:00
committed by GitHub
parent df64c1f374
commit d0f1bfa3d2

View File

@@ -15,7 +15,7 @@ COPYRIGHT="2001-2018 the Icecast team
Thomas B. Ruecker
David Richards"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="http://downloads.xiph.org/releases/icecast/icecast-$portVersion.tar.gz"
CHECKSUM_SHA256="49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44"
PATCHES="icecast-$portVersion.patchset"
@@ -74,10 +74,14 @@ BUILD_PREREQUIRES="
defineDebugInfoPackage icecast$secondaryArchSuffix \
$binDir/icecast
PATCH()
{
echo "AC_CONFIG_MACRO_DIRS([m4])" >> configure.in
}
BUILD()
{
export LIBS="-lnetwork"
echo "AC_CONFIG_MACRO_DIRS([m4])" >> configure.in
autoreconf -vfi
runConfigure ./configure
make $jobArgs