summaryrefslogtreecommitdiff
path: root/mail/courier-maildir
diff options
context:
space:
mode:
authorrillig <rillig>2005-11-11 07:10:06 +0000
committerrillig <rillig>2005-11-11 07:10:06 +0000
commit98465bf9104a0a6acf527897ad0e3643bbdad6d8 (patch)
tree662730065cf5fb7fbc3b0483cd89f96733316516 /mail/courier-maildir
parentb0b3dd3c6896492638bfc1bb56499f196bca399d (diff)
downloadpkgsrc-98465bf9104a0a6acf527897ad0e3643bbdad6d8.tar.gz
PKGBASE is defined too late to be used in PKG_OPTIONS_VAR, so it cannot
be used here.
Diffstat (limited to 'mail/courier-maildir')
-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"