summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-12-22 20:04:07 +0000
committerjoerg <joerg@pkgsrc.org>2008-12-22 20:04:07 +0000
commitd8bdf1b388b7c902624dcac7604b0def3853521d (patch)
tree91a63d214fdc658206ca1fdc8f76e1aa56ef37eb /lang
parent2283a0912afe2bb416952e2eb1bbc1a9402419df (diff)
downloadpkgsrc-d8bdf1b388b7c902624dcac7604b0def3853521d.tar.gz
Fix PLIST of ocaml-graphics for architectures not using the optimiser.
Add amd64 to that list. Bump revision of ocaml-graphics. Make ocaml itself and ocaml-graphics destdir safe.
Diffstat (limited to 'lang')
-rw-r--r--lang/ocaml/Makefile4
-rw-r--r--lang/ocaml/Makefile.common5
2 files changed, 7 insertions, 2 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile
index 5186d3b5cd9..6be0b703e20 100644
--- a/lang/ocaml/Makefile
+++ b/lang/ocaml/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2008/02/11 00:56:42 dbj Exp $
+# $NetBSD: Makefile,v 1.60 2008/12/22 20:04:07 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
diff --git a/lang/ocaml/Makefile.common b/lang/ocaml/Makefile.common
index cb9733af201..08acf460fe1 100644
--- a/lang/ocaml/Makefile.common
+++ b/lang/ocaml/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.21 2008/04/25 07:13:39 wiz Exp $
+# $NetBSD: Makefile.common,v 1.22 2008/12/22 20:04:07 joerg Exp $
DISTNAME= ocaml-3.10.2
CATEGORIES= lang
@@ -23,6 +23,9 @@ CONFIGURE_ARGS+= -host ${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+= -mandir ${PREFIX}/${PKGMANDIR}
CPPFLAGS+= -DDB_DBM_HSEARCH
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
+ MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux"