summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-11 07:10:06 +0000
committerrillig <rillig@pkgsrc.org>2005-11-11 07:10:06 +0000
commited9b1b7eddac9bc41fd0a16ccdb58e0686d28c29 (patch)
tree662730065cf5fb7fbc3b0483cd89f96733316516 /mail
parent67cb6ffda2ac38a20c387af05f0aa9bc35a6ef19 (diff)
downloadpkgsrc-ed9b1b7eddac9bc41fd0a16ccdb58e0686d28c29.tar.gz
PKGBASE is defined too late to be used in PKG_OPTIONS_VAR, so it cannot
be used here.
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-maildir/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/courier-maildir/Makefile.common b/mail/courier-maildir/Makefile.common
index 2f7ea209e3e..c97833eb4e5 100644
--- a/mail/courier-maildir/Makefile.common
+++ b/mail/courier-maildir/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2005/10/20 20:26:15 jlam Exp $
+# $NetBSD: Makefile.common,v 1.5 2005/11/11 07:18:41 rillig Exp $
#
# Package Makefiles should include this file after setting PKGBASE and
# PKG_SUPPORTED_OPTIONS.
@@ -23,7 +23,9 @@ CONFIGURE_ARGS+= --with-db=db
CONFIGURE_ENV+= SYSCONFTOOL_PERL=${PERL5:Q}
-PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGBASE}
+# Note: This expression is the same as ${PKGBASE}, but the latter is
+# not defined yet, so we cannot use it here.
+PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
PKG_SUPPORTED_OPTIONS+= fam
.include "../../mk/bsd.options.mk"