diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile index 61eed05f41c..86d362fd6c8 100644 --- a/databases/py-psycopg/Makefile +++ b/databases/py-psycopg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.44 2011/09/16 08:48:04 espie Exp $ +# $OpenBSD: Makefile,v 1.45 2011/09/23 19:01:24 espie Exp $ SHARED_ONLY= Yes @@ -38,7 +38,9 @@ BUILD_DEPENDS= databases/postgresql,-server RUN_DEPENDS= databases/postgresql FLAVORS= python2.4 python2.7 -FLAVOR?= python2.7 +.if empty(FLAVOR) || !defined(FLAVOR) +FLAVOR= python2.7 +.endif .if ${FLAVOR:L:Mpython2.4} && !${FLAVOR:L:Npython2.4} MULTI_PACKAGES= -main -examples -zope