summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjoerg <joerg>2008-12-22 20:04:07 +0000
committerjoerg <joerg>2008-12-22 20:04:07 +0000
commitb607ddd5d41e2eb6b8152b2b0af4108caa05684b (patch)
tree91a63d214fdc658206ca1fdc8f76e1aa56ef37eb /lang
parent4ce1e8604c202c8b55dc7421b4561b0e26f12b87 (diff)
downloadpkgsrc-b607ddd5d41e2eb6b8152b2b0af4108caa05684b.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"