summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache>2007-05-23 12:17:12 +0000
committerobache <obache>2007-05-23 12:17:12 +0000
commita734a7a109ede6bdefa2b90f1e12e23b17c2b3e6 (patch)
tree86802ccc83cacfb4564825f0de94a376e86ff411
parent4d142bc3a63b75f81f80e8b6b8e5f03b6a3e09e4 (diff)
downloadpkgsrc-a734a7a109ede6bdefa2b90f1e12e23b17c2b3e6.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.mk13
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