pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Reverted the last change. Add...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43f996f6977b
branches:  trunk
changeset: 502928:43f996f6977b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Nov 11 06:47:35 2005 +0000

description:
Reverted the last change. Added a comment to why that changed had broken
things.

diffstat:

 multimedia/mplayer-share/options.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 608f06acbc7c -r 43f996f6977b multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk       Thu Nov 10 23:39:24 2005 +0000
+++ b/multimedia/mplayer-share/options.mk       Fri Nov 11 06:47:35 2005 +0000
@@ -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"
 



Home | Main Index | Thread Index | Old Index