diff options
author | obache <obache@pkgsrc.org> | 2007-05-23 12:17:12 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-05-23 12:17:12 +0000 |
commit | 59c281002a61036a9968f43202ae3b31e52df199 (patch) | |
tree | 86802ccc83cacfb4564825f0de94a376e86ff411 | |
parent | 0418054093f6a82cbef4699b6776907324e89222 (diff) | |
download | pkgsrc-59c281002a61036a9968f43202ae3b31e52df199.tar.gz |
Define PATCH files related variables strictly.
works well even if define both options or one of the options.
-rw-r--r-- | mail/squirrelmail/options.mk | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mail/squirrelmail/options.mk b/mail/squirrelmail/options.mk index 784bbc9f2f6..d067b123c12 100644 --- a/mail/squirrelmail/options.mk +++ b/mail/squirrelmail/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2007/05/22 11:13:27 taca Exp $ +# $NetBSD: options.mk,v 1.3 2007/05/23 12:17:12 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.squirrelmail PKG_SUPPORTED_OPTIONS= squirrelmail-japanese squirrelmail-lite @@ -6,13 +6,16 @@ PKG_SUPPORTED_OPTIONS= squirrelmail-japanese squirrelmail-lite .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Msquirrelmail-japanese) -PATCH_SITES= http://www.yamaai-tech.com/~masato/Download/ -PATCHFILES= squirrelmail-1.4.10a-ja-20070511-patch.gz -PATCH_DIST_STRIP= -p1 +PATCHFILES+= squirrelmail-1.4.10a-ja-20070511-patch.gz +SITES.squirrelmail-1.4.10a-ja-20070511-patch.gz= \ + http://www.yamaai-tech.com/~masato/Download/ +PATCH_DIST_STRIP.squirrelmail-1.4.10a-ja-20070511-patch.gz= -p1 .endif .if !empty(PKG_OPTIONS:Msquirrelmail-lite) -PATCH_SITES+= ftp://ftp.back-street.net/pub/squirrelmail/ PATCHFILES+= squirrelmail-1.4.10a-lite-20070522-patch +SITES.squirrelmail-1.4.10a-lite-20070522-patch= \ + ftp://ftp.back-street.net/pub/squirrelmail/ +PATCH_DIST_STRIP.squirrelmail-1.4.10a-lite-20070522-patch= -p1 .endif |