summaryrefslogtreecommitdiff
path: root/lang/caml-light
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2011-11-01 11:39:59 +0000
committerbsiegert <bsiegert@pkgsrc.org>2011-11-01 11:39:59 +0000
commit549f72b06e64b56ac8624f95a089534ae3eeb228 (patch)
treeff9cc80c2c3d7c2c1155e8236201b80e0fab0ed4 /lang/caml-light
parentb626b7b05b5c4e3981c63fc79a8dcaec783204f5 (diff)
downloadpkgsrc-549f72b06e64b56ac8624f95a089534ae3eeb228.tar.gz
cpp is /usr/libexec/cpp in MirBSD. Fixes build.
Diffstat (limited to 'lang/caml-light')
-rw-r--r--lang/caml-light/Makefile8
-rw-r--r--lang/caml-light/distinfo4
-rw-r--r--lang/caml-light/patches/patch-aa4
3 files changed, 11 insertions, 5 deletions
diff --git a/lang/caml-light/Makefile b/lang/caml-light/Makefile
index dfc349a0a6a..07c695748c8 100644
--- a/lang/caml-light/Makefile
+++ b/lang/caml-light/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/06/30 00:07:18 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2011/11/01 11:39:59 bsiegert Exp $
#
DISTNAME= cl74unix
@@ -21,6 +21,12 @@ INSTALLATION_DIRS+= bin lib/caml-light ${PKGMANDIR}/man1
USE_TOOLS+= pax
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "MirBSD"
+CPP= /usr/libexec/cpp -P -C -Dunix
+.endif
+
do-configure:
cd ${WRKSRC} && ${MAKE} configure
diff --git a/lang/caml-light/distinfo b/lang/caml-light/distinfo
index 6447525b10f..70d991affb5 100644
--- a/lang/caml-light/distinfo
+++ b/lang/caml-light/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.6 2008/09/05 02:07:51 dholland Exp $
+$NetBSD: distinfo,v 1.7 2011/11/01 11:39:59 bsiegert Exp $
SHA1 (cl74unix.tar.gz) = feae4a53af78b6c500a03c618dc11444e8b5dc47
RMD160 (cl74unix.tar.gz) = a00a8de15e042080041076fcf3ad2592d9deb469
Size (cl74unix.tar.gz) = 999170 bytes
-SHA1 (patch-aa) = 6d3bc6249267789806ad4eef1b36aa809277a930
+SHA1 (patch-aa) = b343944404aa0a59956a09ef848958eb2755160f
SHA1 (patch-ab) = 3098db9faa0cd60931c781b4b24f796ac23ef52d
SHA1 (patch-ac) = 6b268ddd007f73a8bb4085df4826627425eb9658
SHA1 (patch-ad) = 22c97a5a2ee4a45cd85ae4c886b61cdcf833703a
diff --git a/lang/caml-light/patches/patch-aa b/lang/caml-light/patches/patch-aa
index d69c50fca08..dba4020a5be 100644
--- a/lang/caml-light/patches/patch-aa
+++ b/lang/caml-light/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2008/09/05 02:07:51 dholland Exp $
+$NetBSD: patch-aa,v 1.4 2011/11/01 11:39:59 bsiegert Exp $
Config fixes.
Destdir support.
@@ -19,7 +19,7 @@ Destdir support.
# If your cpp is too fussy, make tools/clprepro and use this:
# CPP=../../src/tools/clprepro -Dunix
-CPP=/lib/cpp -P -Dunix
-+CPP=cpp -P -C -Dunix
++CPP?=cpp -P -C -Dunix
# The directory where public executables will be installed
-BINDIR=/usr/local/bin