diff options
author | joerg <joerg@pkgsrc.org> | 2006-04-20 16:28:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-04-20 16:28:54 +0000 |
commit | b3fa349048874567eaf5ab3c1c0855cc5d07a68c (patch) | |
tree | 2f6f5a0c9ccb658b0e2556a13d56d0c7772ab689 /graphics/libggi/Makefile | |
parent | 84cc06d805fdc4cd67b5bf23b2c3f48fe5e1997d (diff) | |
download | pkgsrc-b3fa349048874567eaf5ab3c1c0855cc5d07a68c.tar.gz |
Include vgl plugin in PLIST on DragonFly and FreeBSD.
Use conditional comment for dga instead of second PLIST file.
Diffstat (limited to 'graphics/libggi/Makefile')
-rw-r--r-- | graphics/libggi/Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/graphics/libggi/Makefile b/graphics/libggi/Makefile index eee9b12c1bf..6dbc103845d 100644 --- a/graphics/libggi/Makefile +++ b/graphics/libggi/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.40 2006/03/04 21:29:49 jlam Exp $ +# $NetBSD: Makefile,v 1.41 2006/04/20 16:28:54 joerg Exp $ # DISTNAME= libggi-2.1.1.src PKGNAME= ${DISTNAME:S/.src//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.ggi-project.org/pub/packages/ggi/ggi/v2.1/ \ http://www.ggi-project.org/ftp/ggi/v2.1/ \ @@ -38,15 +38,16 @@ PLIST_SUBST+= COND_TERMINFO="" PLIST_SUBST+= COND_TERMINFO="" .endif +.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" +PLIST_SUBST+= COND_LIBVGL="" +.else +PLIST_SUBST+= COND_LIBVGL="@comment " +.endif + .if exists(${X11BASE}/include/X11/extensions/xf86dga.h) -# -# it would be more logical to set PLIST_SRC to PLIST first and then add -# PLIST.dga to it, but @dirrm lib/ggi/display will fail while processing -# pkg/PLIST, because the directory still contains files (they are listed in -# PLIST.dga) and isn't empty, thus can't be removed -# -PLIST_SRC= ${PKGDIR}/PLIST.dga -PLIST_SRC+= ${PKGDIR}/PLIST +PLIST_SUBST+= COND_XF86DGA="" +.else +PLIST_SUBST+= COND_XF86DGA="@comment " .endif .include "../../devel/ncurses/buildlink3.mk" |