pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mplayer-share Check that PKGNAME is defined...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ddb3db388691
branches:  trunk
changeset: 495046:ddb3db388691
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jun 01 20:31:38 2005 +0000

description:
Check that PKGNAME is defined before using it.

diffstat:

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

diffs (18 lines):

diff -r 3be8a249de83 -r ddb3db388691 multimedia/mplayer-share/options.mk
--- a/multimedia/mplayer-share/options.mk       Wed Jun 01 20:19:21 2005 +0000
+++ b/multimedia/mplayer-share/options.mk       Wed Jun 01 20:31:38 2005 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: options.mk,v 1.1 2005/06/01 18:45:46 jmmv Exp $
+# $NetBSD: options.mk,v 1.2 2005/06/01 20:31:38 jlam Exp $
 
-.if !empty(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
+.if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
 
@@ -232,4 +232,4 @@
 CONFIGURE_ARGS+=       --disable-xvid
 .endif
 
-.endif # !empty(PKGNAME) && empty(PKGNAME:Mmplayer-share*)
+.endif # defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*)



Home | Main Index | Thread Index | Old Index