summaryrefslogtreecommitdiff
path: root/x11/ocaml-graphics/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /x11/ocaml-graphics/Makefile
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'x11/ocaml-graphics/Makefile')
-rw-r--r--x11/ocaml-graphics/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile
index 83bea67b872..a982c1b91a5 100644
--- a/x11/ocaml-graphics/Makefile
+++ b/x11/ocaml-graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/01/30 20:56:13 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/04/12 22:43:15 jlam Exp $
.include "../../lang/ocaml/Makefile.common"
@@ -14,13 +14,13 @@ CONFIGURE_ARGS+= -no-tk
BUILD_DIRS= ${WRKSRC}/otherlibs/graph
BUILD_TARGET= all
INSTALL_TARGET= install
+
+PLIST_VARS+= opt
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \
(${MACHINE_ARCH} == "sparc")
BUILD_TARGET+= allopt
INSTALL_TARGET+= installopt
-PLIST_SUBST+= OPT=
-.else
-PLIST_SUBST+= OPT='@comment '
+PLIST.opt= yes
.endif
PLIST_SRC= ${WRKDIR}/.PLIST_SRC