summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/mplayer-share/options.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk
index 1ac288e07d5..de604b56274 100644
--- a/multimedia/mplayer-share/options.mk
+++ b/multimedia/mplayer-share/options.mk
@@ -1,8 +1,10 @@
-# $NetBSD: options.mk,v 1.9 2005/11/05 17:21:01 rillig Exp $
+# $NetBSD: options.mk,v 1.10 2005/11/11 06:47:35 rillig Exp $
.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
-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].*//}
.include "../../mk/bsd.prefs.mk"