Sun Feb 14 20:51:23 2010 UTC ()
DESTDIR support


(joerg)
diff -r1.3 -r1.4 pkgsrc/devel/equeue/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/devel/equeue/distinfo
diff -r0 -r1.1 pkgsrc/devel/equeue/patches/patch-aa
diff -r0 -r1.1 pkgsrc/devel/equeue/patches/patch-ab

cvs diff -r1.3 -r1.4 pkgsrc/devel/equeue/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/equeue/Attic/Makefile 2009/05/28 21:06:08 1.3
+++ pkgsrc/devel/equeue/Attic/Makefile 2010/02/14 20:51:23 1.4
@@ -1,23 +1,26 @@ @@ -1,23 +1,26 @@
1# $NetBSD: Makefile,v 1.3 2009/05/28 21:06:08 zafer Exp $ 1# $NetBSD: Makefile,v 1.4 2010/02/14 20:51:23 joerg Exp $
2# 2#
3 3
4DISTNAME= equeue-2.1.3 4DISTNAME= equeue-2.1.3
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= http://download.camlcity.org/download/ 6MASTER_SITES= http://download.camlcity.org/download/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.camlcity.org/ 9HOMEPAGE= http://www.camlcity.org/
10COMMENT= Queues for file events (OCaml) 10COMMENT= Queues for file events (OCaml)
11 11
 12PKG_DESTDIR_SUPPORT= user-destdir
12MAKE_JOBS_SAFE= no 13MAKE_JOBS_SAFE= no
13 14
14DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib 15DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib
15 16
16USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes
17HAS_CONFIGURE= yes 18HAS_CONFIGURE= yes
18USE_TOOLS+= gmake 19USE_TOOLS+= gmake
19BUILD_TARGET= all opt 20BUILD_TARGET= all opt
20PLIST_SRC= PLIST.opt PLIST 21PLIST_SRC= PLIST.opt PLIST
21 22
 23INSTALLATION_DIRS+= lib/ocaml/site-lib
 24
22.include "../../lang/ocaml/buildlink3.mk" 25.include "../../lang/ocaml/buildlink3.mk"
23.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/devel/equeue/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/equeue/Attic/distinfo 2006/08/11 15:42:30 1.1.1.1
+++ pkgsrc/devel/equeue/Attic/distinfo 2010/02/14 20:51:23 1.2
@@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
1$NetBSD: distinfo,v 1.1.1.1 2006/08/11 15:42:30 wiz Exp $ 1$NetBSD: distinfo,v 1.2 2010/02/14 20:51:23 joerg Exp $
2 2
3SHA1 (equeue-2.1.3.tar.gz) = e573ecc94b58eadf0baad07bf35b0e34fddd77fb 3SHA1 (equeue-2.1.3.tar.gz) = e573ecc94b58eadf0baad07bf35b0e34fddd77fb
4RMD160 (equeue-2.1.3.tar.gz) = 61845789c2eec88325f0a2bbfa222576754c858d 4RMD160 (equeue-2.1.3.tar.gz) = 61845789c2eec88325f0a2bbfa222576754c858d
5Size (equeue-2.1.3.tar.gz) = 249374 bytes 5Size (equeue-2.1.3.tar.gz) = 249374 bytes
 6SHA1 (patch-aa) = 4e56fecc11ffd3345cae8081568e2aa002d29d64
 7SHA1 (patch-ab) = 0aad36338ffe78d1444debeeee85456aae720e9f

File Added: pkgsrc/devel/equeue/patches/Attic/patch-aa
$NetBSD: patch-aa,v 1.1 2010/02/14 20:51:23 joerg Exp $

--- src/shell/Makefile.orig	2010-02-14 20:44:34.000000000 +0000
+++ src/shell/Makefile
@@ -22,7 +22,7 @@ distclean: clean
 
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a dll* META` && \
-	$(OCAMLFIND) install shell $$files
+	$(OCAMLFIND) install -ldconf /dev/null -destdir ${DESTDIR}`ocamlc -where`/site-lib shell $$files
 
 uninstall:
 	$(OCAMLFIND) remove shell

File Added: pkgsrc/devel/equeue/patches/Attic/patch-ab
$NetBSD: patch-ab,v 1.1 2010/02/14 20:51:23 joerg Exp $

--- src/equeue/Makefile.orig	2010-02-14 20:45:27.000000000 +0000
+++ src/equeue/Makefile
@@ -39,7 +39,7 @@ distclean: clean
 .PHONY: install
 install:
 	files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a unixqueue_mt.cmo unixqueue_mt.cmx unixqueue_mt.o META` && \
-	$(OCAMLFIND) install equeue $$files
+	$(OCAMLFIND) install -ldconf /dev/null -destdir ${DESTDIR}`ocamlc -where`/site-lib equeue $$files
 
 .PHONY: uninstall
 uninstall: