pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/squirrelmail Define PATCH files related variables...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1a0db338e6e
branches:  trunk
changeset: 529044:c1a0db338e6e
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed May 23 12:17:12 2007 +0000

description:
Define PATCH files related variables strictly.
works well even if define both options or one of the options.

diffstat:

 mail/squirrelmail/options.mk |  13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diffs (30 lines):

diff -r ec2a0a0b3ead -r c1a0db338e6e mail/squirrelmail/options.mk
--- a/mail/squirrelmail/options.mk      Wed May 23 12:00:04 2007 +0000
+++ b/mail/squirrelmail/options.mk      Wed May 23 12:17:12 2007 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index