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 | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /x11/efltk | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/efltk')
-rw-r--r-- | x11/efltk/PLIST | 6 | ||||
-rw-r--r-- | x11/efltk/options.mk | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/x11/efltk/PLIST b/x11/efltk/PLIST index a9e01ac5818..5a304d6499e 100644 --- a/x11/efltk/PLIST +++ b/x11/efltk/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2006/04/17 07:07:38 jlam Exp $ +@comment $NetBSD: PLIST,v 1.4 2008/04/12 22:43:14 jlam Exp $ bin/efltk-config include/efltk/Enumerations.h include/efltk/Fl.h @@ -208,9 +208,9 @@ lib/fltk/eblue.theme.la lib/fltk/essai.theme.la lib/fltk/motif.theme.la lib/libefltk.la -${OPENGL}lib/libefltk_gl.la +${PLIST.opengl}lib/libefltk_gl.la lib/libefltk_images.la -${MYSQL}lib/libefltk_mysql.la +${PLIST.mysql}lib/libefltk_mysql.la lib/libefltk_net.la lib/libefltk_xml.la share/locale/fi/LC_MESSAGES/efltk.mo diff --git a/x11/efltk/options.mk b/x11/efltk/options.mk index 1e49702af10..4c530e203a6 100644 --- a/x11/efltk/options.mk +++ b/x11/efltk/options.mk @@ -1,26 +1,26 @@ -# $NetBSD: options.mk,v 1.2 2006/02/18 14:07:54 joerg Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:14 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.efltk PKG_SUPPORTED_OPTIONS= opengl mysql .include "../../mk/bsd.options.mk" +PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} + .if !empty(PKG_OPTIONS:Mopengl) -PLIST_SUBST+= OPENGL= +PLIST.opengl= yes CONFIGURE_ARGS+= --enable-opengl MAKE_ENV+= HAVE_OPENGL=yes . include "../../graphics/MesaLib/buildlink3.mk" .else -PLIST_SUBST+= OPENGL="@comment " CONFIGURE_ARGS+= --disable-opengl MAKE_ENV+= HAVE_OPENGL=no .endif .if !empty(PKG_OPTIONS:Mmysql) -PLIST_SUBST+= MYSQL= +PLIST.mysql= yes CONFIGURE_ARGS+= --enable-mysql . include "../../mk/mysql.buildlink3.mk" .else -PLIST_SUBST+= MYSQL="@comment " CONFIGURE_ARGS+= --disable-mysql .endif |