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
commit269cc828170cfdba5aadbf3b946917fe58a8b3f6 (patch)
tree1db8ccf50ff1910ac40b4aab17436826ecec01ce /multimedia
parent5a77a399d0ebd1831e2d187b166aa62c2a39a78e (diff)
downloadpkgsrc-269cc828170cfdba5aadbf3b946917fe58a8b3f6.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"