summaryrefslogtreecommitdiff
path: root/graphics/camlimages/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 /graphics/camlimages/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 'graphics/camlimages/Makefile')
-rw-r--r--graphics/camlimages/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/camlimages/Makefile b/graphics/camlimages/Makefile
index 5f53ae36b78..05f1fe42cfc 100644
--- a/graphics/camlimages/Makefile
+++ b/graphics/camlimages/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/09/21 13:03:47 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2008/04/12 22:43:01 jlam Exp $
DISTNAME= camlimages-2.2.0
PKGREVISION= 5
@@ -28,10 +28,10 @@ BUILD_TARGET+= all
PLIST_SRC+= ${PKGDIR}/PLIST.opt
.endif
-.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD"
-PLIST_SUBST+= COND_DLL=""
-.else
-PLIST_SUBST+= COND_DLL="@comment "
+PLIST_VARS+= dll
+.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || \
+ ${OPSYS} == "Darwin" || ${OPSYS} == "NetBSD"
+PLIST.dll= yes
.endif
.include "../../lang/ocaml/buildlink3.mk"