summaryrefslogtreecommitdiff
path: root/x11/fltk/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /x11/fltk/Makefile
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/fltk/Makefile')
-rw-r--r--x11/fltk/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/fltk/Makefile b/x11/fltk/Makefile
index acb993d0698..cc60036b422 100644
--- a/x11/fltk/Makefile
+++ b/x11/fltk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2007/03/16 21:40:33 joerg Exp $
+# $NetBSD: Makefile,v 1.64 2008/04/12 22:43:14 jlam Exp $
DISTNAME= fltk-1.1.7-source
PKGNAME= ${DISTNAME:S/-source//}
@@ -31,11 +31,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-libtool=${LIBTOOL:Q}
CONFIGURE_ARGS+= --enable-threads
CONFIGURE_ARGS+= ac_cv_have_overlay=yes
-.if exists(./descr)
-PLIST_SUBST+= WITH_LINKS="@comment "
-.else
+
+PLIST_VARS+= cs # case-sensitive
+.if !exists(./descr)
CONFIGURE_ARGS+= --with-links
-PLIST_SUBST+= WITH_LINKS=""
+PLIST.cs= yes
.endif
BUILDLINK_DEPMETHOD.libXt?= build