summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-11 06:47:35 +0000
committerrillig <rillig@pkgsrc.org>2005-11-11 06:47:35 +0000
commit906e8d5237fd196da119342c4c34daf24c097297 (patch)
tree1db8ccf50ff1910ac40b4aab17436826ecec01ce /multimedia
parentece5a2278ac988cd9cf9224fc8322e05254aa352 (diff)
downloadpkgsrc-906e8d5237fd196da119342c4c34daf24c097297.tar.gz
Reverted the last change. Added a comment to why that changed had broken
things.
Diffstat (limited to 'multimedia')
-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"