diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-20 11:57:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-20 11:57:41 +0000 |
commit | 27a873bb9c43da9d434c65821caf20210a375e73 (patch) | |
tree | 578d1efcae7fc873a668bb97a73776c95c14df9a /www | |
parent | fdd9280481d553203080d88c2149d27f2564b97f (diff) | |
download | pkgsrc-27a873bb9c43da9d434c65821caf20210a375e73.tar.gz |
Don't use the same conditional twice, works better if both versions
are actually checked...
Diffstat (limited to 'www')
-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 " |