summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-04-12 14:43:39 +0000
committerseb <seb@pkgsrc.org>2004-04-12 14:43:39 +0000
commitabc37cb704403f4994e2995859d1054ea4d444f2 (patch)
treeb74a131261f9bb49f386d5680d7e4b5d3305ea50 /lang
parent32a24bd863be609d3c075db069b73e56dff2abf1 (diff)
downloadpkgsrc-abc37cb704403f4994e2995859d1054ea4d444f2.tar.gz
Partialy revert previous and use {TCL,TK}CONFIG_SH's content to pass
more accurate data to configure. Fix -again now that revision 1.4 of mk/pthread.buildlink3.mk had been reverted- build with threaded Tcl/Tk packages.
Diffstat (limited to 'lang')
-rw-r--r--lang/ocaml/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 5d0d83e73b7..7315d570629 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/03/30 14:01:30 seb Exp $
+# $NetBSD: Makefile,v 1.27 2004/04/12 14:43:39 seb Exp $
DISTNAME= ocaml-3.06
PKGREVISION= 5
@@ -15,7 +15,10 @@ USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= -prefix ${PREFIX}
-CONFIGURE_ARGS+= -cc "${CC} ${CFLAGS} ${CPPFLAGS}"
+CONFIGURE_ARGS+= -x11include ${X11BASE}/include
+CONFIGURE_ARGS+= -x11lib ${X11BASE}/lib
+CONFIGURE_ARGS+= -tkdefs "-I${BUILDLINK_PREFIX.tk}/include -I${BUILDLINK_PREFIX.tcl}/include"
+CONFIGURE_ARGS+= -tklibs "`${SH} -c '. ${TCLCONFIG_SH}; . ${TKCONFIG_SH}; ${ECHO_N} $$TK_LIBS; ${ECHO_N} \ $$TCL_LIBS'`"
CONFIGURE_ARGS+= -libs "${LDFLAGS}"
ALL_TARGET= world