From d39ffb73128184d73b22a173fbd3cdf91a15f607 Mon Sep 17 00:00:00 2001 From: heko Date: Tue, 11 Sep 2001 22:21:51 +0000 Subject: [PATCH] Handle LOCALBASE != /usr/local, X11BASE != /usr/X11R6, pass on CC and CFLAGS ok: maintainer angelos@ --- lang/ocaml/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index 8baac70ab6e..3586c5155be 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2001/08/22 00:32:00 angelos Exp $ +# $OpenBSD: Makefile,v 1.17 2001/09/11 22:21:51 heko Exp $ COMMENT= "ML language based on complete class-based objective system" @@ -19,7 +19,12 @@ PERMIT_DISTFILES_FTP= Yes CONFIGURE_STYLE= simple -CONFIGURE_ARGS=--tkdefs '-I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3' +CONFIGURE_ARGS+=-tkdefs '-I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3' +CONFIGURE_ARGS+=-tklibs -L${LOCALBASE}/lib +CONFIGURE_ARGS+=-prefix ${PREFIX} +CONFIGURE_ARGS+=-cc '${CC} ${CFLAGS}' +CONFIGURE_ARGS+=-x11include ${X11BASE}/include -x11lib ${X11BASE}/lib + LIB_DEPENDS= tcl83.1.3::lang/tcl/8.3 \ tk83.1.3::x11/tk/8.3