diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 31597853cc377bc7f255d79b8cbdba990fd506a1 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /x11/xf86-video-via | |
parent | d9176ab5ada46cb1a5d0b147d1c9ac9ba38136d0 (diff) | |
download | pkgsrc-31597853cc377bc7f255d79b8cbdba990fd506a1.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/xf86-video-via')
-rw-r--r-- | x11/xf86-video-via/Makefile | 7 | ||||
-rw-r--r-- | x11/xf86-video-via/PLIST | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/x11/xf86-video-via/Makefile b/x11/xf86-video-via/Makefile index e36fca94571..62346df30c5 100644 --- a/x11/xf86-video-via/Makefile +++ b/x11/xf86-video-via/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2007/10/09 19:19:17 martti Exp $ +# $NetBSD: Makefile,v 1.6 2008/04/12 22:43:15 jlam Exp $ # DISTNAME= xf86-video-via-0.2.2 @@ -19,10 +19,9 @@ USE_TOOLS+= pkg-config .include "../../mk/bsd.prefs.mk" +PLIST_VARS+= XvMC .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" -PLIST_SUBST+= XVMC_SUPPORT="" -.else -PLIST_SUBST+= XVMC_SUPPORT="@comment " +PLIST.XvMC= yes .endif .include "../../x11/modular-xorg-server/buildlink3.mk" diff --git a/x11/xf86-video-via/PLIST b/x11/xf86-video-via/PLIST index e0de500601f..43cf62d71a2 100644 --- a/x11/xf86-video-via/PLIST +++ b/x11/xf86-video-via/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.2 2007/08/16 14:17:09 joerg Exp $ -${XVMC_SUPPORT}lib/libviaXvMC.la -${XVMC_SUPPORT}lib/libviaXvMCPro.la +@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:15 jlam Exp $ +${PLIST.XvMC}lib/libviaXvMC.la +${PLIST.XvMC}lib/libviaXvMCPro.la lib/xorg/modules/drivers/via_drv.la man/man4/via.4 @comment @dirrm lib/xorg/modules/drivers |