summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorrillig <rillig>2005-11-11 06:47:35 +0000
committerrillig <rillig>2005-11-11 06:47:35 +0000
commit47cf953ab01ff82030d8056de9cead7b5a157848 (patch)
tree1db8ccf50ff1910ac40b4aab17436826ecec01ce /multimedia
parentb1ff57cc53f77f6970ecb197df307751908ce2c5 (diff)
downloadpkgsrc-47cf953ab01ff82030d8056de9cead7b5a157848.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"