summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
committerjperkin <jperkin@pkgsrc.org>2016-02-25 14:42:55 +0000
commitd0e82e80e77f9e477c85d5ee52a44bbb64db1331 (patch)
tree0285cf003fd624dc16685552fba2f200571a98ff /lang/ocaml
parent540d973689a50cbd6d9a4864a0364d7276544fa0 (diff)
downloadpkgsrc-d0e82e80e77f9e477c85d5ee52a44bbb64db1331.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'lang/ocaml')
-rw-r--r--lang/ocaml/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index a2f39cafe8f..d7e20420c3f 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2015/09/08 18:54:41 joerg Exp $
+# $NetBSD: Makefile,v 1.101 2016/02/25 14:42:56 jperkin Exp $
.include "Makefile.common"
@@ -70,11 +70,9 @@ PLIST_SRC+= ${PKGDIR}/PLIST
INSTALL_MAKE_FLAGS+= SHELL=${SH:Q}
.endif
-.if ${OPSYS} == "NetBSD"
-EXTRA_RT_LIBS= -lcurses
-.else
-EXTRA_RT_LIBS=
-.endif
+OPSYSVARS+= EXTRA_RT_LIBS
+EXTRA_RT_LIBS.NetBSD= -lcurses
+EXTRA_RT_LIBS.*=
SUBST_CLASSES+= extra-rt-libs
SUBST_FILES.extra-rt-libs= bytecomp/bytelink.ml