From 08b1bf1b3e655e371304a268d248f1ab6024c76e Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 23 Sep 2011 18:50:16 +0000 Subject: [PATCH] let SUBDIR=databases/py-ldap,,-examples work --- databases/py-ldap/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/databases/py-ldap/Makefile b/databases/py-ldap/Makefile index 431c4ae8377..dea3e7e59e9 100644 --- a/databases/py-ldap/Makefile +++ b/databases/py-ldap/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.30 2011/09/16 08:48:03 espie Exp $ +# $OpenBSD: Makefile,v 1.31 2011/09/23 18:50:16 espie Exp $ SHARED_ONLY= Yes @@ -35,7 +35,9 @@ LIB_DEPENDS-main= databases/openldap \ WANTLIB-main += ldap_r>=7 lber>=7 sasl2>=2 FLAVORS= python2.4 python2.7 -FLAVOR?= python2.7 +.if !defined(FLAVOR) || empty(FLAVOR) +FLAVOR= python2.7 +.endif .if ${FLAVOR:L:Mpython2.4} && !${FLAVOR:L:Npython2.4} MULTI_PACKAGES= -main