[Pkg-ocaml-maint-commits] r5733 - /trunk/packages/ledit/trunk/debian/patches/META.dpatch

zack at users.alioth.debian.org zack at users.alioth.debian.org
Tue Jun 3 09:41:43 UTC 2008


Author: zack
Date: Tue Jun  3 09:41:43 2008
New Revision: 5733

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=5733
Log:
- avoid failing whe ocamlopt is not there
- add missing META dep on camlp5.gramlib

Modified:
    trunk/packages/ledit/trunk/debian/patches/META.dpatch

Modified: trunk/packages/ledit/trunk/debian/patches/META.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ledit/trunk/debian/patches/META.dpatch?rev=5733&op=diff
==============================================================================
--- trunk/packages/ledit/trunk/debian/patches/META.dpatch (original)
+++ trunk/packages/ledit/trunk/debian/patches/META.dpatch Tue Jun  3 09:41:43 2008
@@ -5,9 +5,19 @@
 ## DP: ship a META file for the ledit library
 
 @DPATCH@
+diff -urNad trunk~/META.tpl trunk/META.tpl
+--- trunk~/META.tpl	1970-01-01 01:00:00.000000000 +0100
++++ trunk/META.tpl	2008-06-03 11:40:17.000000000 +0200
+@@ -0,0 +1,6 @@
++name="ledit"
++version="LEDIT_VERSION"
++description="Line editing for interactive commands"
++requires="unix,camlp5.gramlib"
++archive(byte)="ledit.cma"
++archive(native)="ledit.cmxa"
 diff -urNad trunk~/Makefile trunk/Makefile
---- trunk~/Makefile	2008-06-03 11:08:43.000000000 +0200
-+++ trunk/Makefile	2008-06-03 11:10:02.000000000 +0200
+--- trunk~/Makefile	2008-06-03 11:40:06.000000000 +0200
++++ trunk/Makefile	2008-06-03 11:40:06.000000000 +0200
 @@ -35,6 +35,7 @@
  clean:
  	/bin/rm -f *.cm[iox] *.pp[oi] *.o ext/*.cm[io] *.bak $(TARGET) ledit.1
@@ -18,7 +28,7 @@
  	-$(MKDIR) $(BINDIR) $(MANDIR)
 @@ -47,6 +48,10 @@
  	cp ledit.cma ledit.cmi cursor.cmi $(LIBDIR)/
- 	test -f ledit.cmxa && cp ledit.cmxa ledit.a $(LIBDIR)/
+ 	if [ -f ledit.cmxa ] ; then cp ledit.cmxa ledit.a $(LIBDIR)/ ; fi
  
 +META: META.tpl
 +	VERSION=`sed -n -e 's/^.* version = "\(.*\)".*$$/\1/p' go.ml`; \
@@ -27,13 +37,3 @@
  depend:
  	> .depend.new
  	for i in $(OBJS:.cmo=.ml); do \
-diff -urNad trunk~/trunk/META.tpl trunk/trunk/META.tpl
---- trunk~/META.tpl	1970-01-01 01:00:00.000000000 +0100
-+++ trunk/META.tpl	2008-06-03 11:09:05.000000000 +0200
-@@ -0,0 +1,6 @@
-+name="ledit"
-+version="LEDIT_VERSION"
-+description="Line editing for interactive commands"
-+requires="unix"
-+archive(byte)="ledit.cma"
-+archive(native)="ledit.cmxa"




More information about the Pkg-ocaml-maint-commits mailing list