diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-02-25 14:42:55 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-02-25 14:42:55 +0000 |
commit | d0e82e80e77f9e477c85d5ee52a44bbb64db1331 (patch) | |
tree | 0285cf003fd624dc16685552fba2f200571a98ff /lang/ocaml | |
parent | 540d973689a50cbd6d9a4864a0364d7276544fa0 (diff) | |
download | pkgsrc-d0e82e80e77f9e477c85d5ee52a44bbb64db1331.tar.gz |
Use OPSYSVARS.
Diffstat (limited to 'lang/ocaml')
-rw-r--r-- | lang/ocaml/Makefile | 10 |
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 |