FLAVOR:L and such things

This commit is contained in:
espie 2011-11-18 10:11:32 +00:00
parent c952698a78
commit 275447e210
4 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.33 2011/11/14 19:10:09 espie Exp $
# $OpenBSD: Makefile,v 1.34 2011/11/18 10:11:33 espie Exp $
COMMENT= companion library to APR
@ -39,7 +39,7 @@ CONFIGURE_ARGS= --with-apr=${LOCALBASE} \
--includedir=${LOCALBASE}/include/apr-1${MT}/ \
--with-apr=${LOCALBASE}/bin/apr-1${MT}-config
.if ${FLAVOR:L:Mldap}
.if ${FLAVOR:Mldap}
CONFIGURE_ARGS+= --with-ldap-include=${LOCALBASE}/include \
--with-ldap-lib=${LOCALBASE}/lib \
--with-ldap
@ -48,7 +48,7 @@ WANTLIB+= asn1 com_err crypto gssapi krb5 sasl2 ssl lber-2.4 ldap-2.4
.endif
MT?=
.if ${FLAVOR:L:Mmt}
.if ${FLAVOR:Mmt}
MT=-mt
CONFIGURE_ENV+= APRUTIL_EXPORT_LIBS=-pthread
LIB_DEPENDS+= apr-mt-1.2.11:devel/apr,mt

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2011/06/15 19:13:48 sthen Exp $
# $OpenBSD: Makefile,v 1.25 2011/11/18 10:11:32 espie Exp $
COMMENT= Apache Portable Runtime
@ -35,7 +35,7 @@ FLAVOR?=
SUBST_VARS+= MT
.if ${FLAVOR:L:Mmt}
.if ${FLAVOR:Mmt}
MT=-mt
CONFIGURE_ARGS+= --enable-threads

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2011/10/25 20:32:27 rpointel Exp $
# $OpenBSD: Makefile,v 1.30 2011/11/18 10:11:33 espie Exp $
COMMENT = simple distributed software configuration management
@ -21,7 +21,7 @@ PERMIT_DISTFILES_FTP = Yes
FLAVORS= static
FLAVOR?=
.if ${FLAVOR:L} == "static"
.if ${FLAVOR} == "static"
MAKE_FLAGS = LDFLAGS="-static" TCC="${CC} -Wall -DUSE_PREAD"
.else
MAKE_FLAGS = TCC="${CC} -Wall -DFOSSIL_ENABLE_SSL -DUSE_PREAD"

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.29 2011/01/03 19:56:33 jasper Exp $
# $OpenBSD: Makefile,v 1.30 2011/11/18 10:11:33 espie Exp $
COMMENT= SDL C++ GUI widget library
@ -30,9 +30,9 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib"
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
.include <bsd.own.mk>
.include <bsd.port.arch.mk>
.if ${COMPILER_VERSION:L:Mgcc[34]}
.if ${PROPERTIES:Mgcc[34]}
MAKE_FLAGS+=libGUI_la_LIBADD=-lsupc++
.endif