ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit b4d7cb487ee1db77680d775c6843ee38811b9bdd
parent 77721592ee41fe8e999542e0d5cc5a50163dde24
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 28 Apr 2014 11:55:16 +0000

add cares

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Acares/cares.mk | 11+++++++++++
Acares/depsinc.mk | 6++++++
Acares/mkfile | 6++++++
Acares/v.mk | 1+
4 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/cares/cares.mk b/cares/cares.mk @@ -0,0 +1,11 @@ +TARG = cares + +<$mkbuild/mk.common-noinst + +cares:QV: + export CPPFLAGS="-D_BSD_SOURCE -D_GNU_SOURCE" + CC="${CC} -static" CFLAGS="" ./configure --prefix="$prefix" --mandir="$ROOT/share/man" \ + --disable-werror \ + --disable-shared \ + --enable-static + make -j$nprocs diff --git a/cares/depsinc.mk b/cares/depsinc.mk @@ -0,0 +1,6 @@ +<$cares_DEPDIR/v.mk + +cares_includedir = $cares_DEPDIR/c-ares-$v +cares_libdir = $cares_DEPDIR/c-ares-$v/.libs +DEPS_CFLAGS = $DEPS_CFLAGS -I${cares_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${cares_libdir} -lcares diff --git a/cares/mkfile b/cares/mkfile @@ -0,0 +1,6 @@ +<$mkbuild/mk.3rdparty + +<v.mk +src = c-ares-$v +url = http://c-ares.haxx.se/download/c-ares-$v.tar.gz +mkfile = ../cares.mk diff --git a/cares/v.mk b/cares/v.mk @@ -0,0 +1 @@ +v = 1.10.0