summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorseb <seb>2004-03-30 14:01:30 +0000
committerseb <seb>2004-03-30 14:01:30 +0000
commitb7b6b476872f00f26e9b6d2d4a0afa9c647e5d19 (patch)
tree9c8f0c980dc18355c249e534ec42e4d7f8cb6e91 /lang
parent8891343ebc0d0857948a747f29cf1250ab053591 (diff)
downloadpkgsrc-b7b6b476872f00f26e9b6d2d4a0afa9c647e5d19.tar.gz
Just pass all CPPFLAGS, CFLAGS and LDFLAGS to configure as
${CC} with options or '-libs' specification. This fix the build of the package with threaded tcl/tk libraries from the tcl/tk packages. While here remove FIX_RPATH, bl3 framework takes care of that for us.
Diffstat (limited to 'lang')
-rw-r--r--lang/ocaml/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 1621aca8c18..5d0d83e73b7 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2004/03/11 21:12:22 tron Exp $
+# $NetBSD: Makefile,v 1.26 2004/03/30 14:01:30 seb Exp $
DISTNAME= ocaml-3.06
PKGREVISION= 5
@@ -15,14 +15,8 @@ USE_BUILDLINK3= yes
USE_GNU_TOOLS+= make
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= -prefix ${PREFIX}
-CONFIGURE_ARGS+= -tkdefs "${OCAML_CPPFLAGS}"
-CONFIGURE_ARGS+= -tklibs "${OCAML_LDFLAGS}"
-CONFIGURE_ARGS+= -libs "${OCAML_LIBS}"
-
-OCAML_CPPFLAGS= ${CPPFLAGS}
-OCAML_LDFLAGS= ${LDFLAGS:M-L*}
-OCAML_LIBS= ${LDFLAGS:N-L*}
-FIX_RPATH+= OCAML_LIBS
+CONFIGURE_ARGS+= -cc "${CC} ${CFLAGS} ${CPPFLAGS}"
+CONFIGURE_ARGS+= -libs "${LDFLAGS}"
ALL_TARGET= world