summaryrefslogtreecommitdiff
path: root/lang/ocaml
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 14:42:55 +0000
committerjperkin <jperkin>2016-02-25 14:42:55 +0000
commite631dd19cabee17463e08b470eae76a8cf63df05 (patch)
tree0285cf003fd624dc16685552fba2f200571a98ff /lang/ocaml
parentbccbbec8e7871e18da507540e2ffe289a27d8fc1 (diff)
downloadpkgsrc-e631dd19cabee17463e08b470eae76a8cf63df05.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