diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-01 20:31:38 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-01 20:31:38 +0000 |
commit | b090f15cff0d722321e79314ea62267ef4ddcac5 (patch) | |
tree | 6e163d5a74a2311254bcbdeaf57ac70fe0e1d2a4 | |
parent | 745457406796571369506383788ddedd385b4f28 (diff) | |
download | pkgsrc-b090f15cff0d722321e79314ea62267ef4ddcac5.tar.gz |
Check that PKGNAME is defined before using it.
-rw-r--r-- | multimedia/mplayer-share/options.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/mplayer-share/options.mk b/multimedia/mplayer-share/options.mk index dfaea18aa0b..6ff2bbe4fd5 100644 --- a/multimedia/mplayer-share/options.mk +++ b/multimedia/mplayer-share/options.mk @@ -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+= --enable-xvid CONFIGURE_ARGS+= --disable-xvid .endif -.endif # !empty(PKGNAME) && empty(PKGNAME:Mmplayer-share*) +.endif # defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) |