summaryrefslogtreecommitdiff
path: root/x11/ocaml-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'x11/ocaml-graphics')
-rw-r--r--x11/ocaml-graphics/Makefile8
-rw-r--r--x11/ocaml-graphics/PLIST4
2 files changed, 6 insertions, 6 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
diff --git a/x11/ocaml-graphics/PLIST b/x11/ocaml-graphics/PLIST
index 1213e3639b3..5ca64236310 100644
--- a/x11/ocaml-graphics/PLIST
+++ b/x11/ocaml-graphics/PLIST
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2006/02/22 21:00:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:15 jlam Exp $
lib/ocaml/graphics.a
lib/ocaml/graphics.cma
lib/ocaml/graphics.cmi
-${OPT}lib/ocaml/graphics.cmxa
+${PLIST.opt}lib/ocaml/graphics.cmxa
lib/ocaml/graphics.mli
lib/ocaml/graphicsX11.cmi
lib/ocaml/graphicsX11.mli