openbsd-ports/x11/e17/eina/Makefile

58 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2012/11/10 15:01:15 stsp Exp $
COMMENT = EFL API for data types
VERSION = 1.7.1
DISTNAME = eina-${VERSION}
EPOCH= 1
SHARED_LIBS += eina 2.0 # 8.1
# LGPL v2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += m pthread
MODULES = converters/libiconv
USE_LIBTOOL = Yes
CONFIGURE_ARGS = --disable-doc \
--enable-mempool-chained-pool=static \
--disable-mempool-ememoa-fixed \
--disable-mempool-ememoa-unknown \
--enable-mempool-fixed-bitmap \
--enable-mempool-pass-through=static \
--disable-mempool-buddy \
--enable-mempool-one-big=static
# mempool
# --enable-default-mempool
# --enable-mempool-chained-pool
# --enable-mempool-ememoa-fixed
# --enable-mempool-ememoa-unknown
# --enable-mempool-fixed-bitmap
# --enable-mempool-pass-through
# --enable-mempool-buddy
# --enable-mempool-one-big
# perf ?
# --enable-amalgamation
# --with-internal-maximum-log-level=2
# --disable-magic-debug
# --disable-safety-checks
# --disable-assert
CONFIGURE_ENV = CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
ac_cv_func_dirfd=yes
FULLARCH = ${MACHINE_ARCH:S/amd64/x86_64/}
SUBST_VARS += FULLARCH VERSION
REGRESS_TARGET = check-local
.include <bsd.port.mk>