diff options
author | joerg <joerg> | 2007-02-20 11:57:41 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-02-20 11:57:41 +0000 |
commit | 570da0fb866fff72e1a89caec7ca716715d6e536 (patch) | |
tree | 578d1efcae7fc873a668bb97a73776c95c14df9a /www/py-django | |
parent | c30a8c548ac9bebed9a41a100b5797183309eedd (diff) | |
download | pkgsrc-570da0fb866fff72e1a89caec7ca716715d6e536.tar.gz |
Don't use the same conditional twice, works better if both versions
are actually checked...
Diffstat (limited to 'www/py-django')
-rw-r--r-- | www/py-django/options.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/py-django/options.mk b/www/py-django/options.mk index 675764d7034..5a3ad6c9ff6 100644 --- a/www/py-django/options.mk +++ b/www/py-django/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2007/02/19 20:55:51 joerg Exp $ +# $NetBSD: options.mk,v 1.3 2007/02/20 11:57:41 joerg Exp $ PKG_OPTIONS_VAR = PKG_OPTIONS.django PKG_SUPPORTED_OPTIONS= mysql psycopg1 psycopg2 sqlite @@ -24,7 +24,7 @@ PLIST_SUBST+= COND_PSYCOPG2= PLIST_SUBST+= COND_PSYCOPG2="@comment " .endif -.if !empty(PKG_OPTIONS:Mpsycopg2) || !empty(PKG_OPTIONS:Mpsycopg2) +.if !empty(PKG_OPTIONS:Mpsycopg1) || !empty(PKG_OPTIONS:Mpsycopg2) PLIST_SUBST+= COND_PSYCOPG1= .else PLIST_SUBST+= COND_PSYCOPG1="@comment " |