[Pkg-voip-commits] r2049 - openser/trunk/debian/patches

Julien Blache jblache at costa.debian.org
Wed Jul 12 12:07:33 UTC 2006


Author: jblache
Date: 2006-07-12 12:07:33 +0000 (Wed, 12 Jul 2006)
New Revision: 2049

Added:
   openser/trunk/debian/patches/10_no_lib64_on_64_bits.dpatch
Modified:
   openser/trunk/debian/patches/00list
Log:
Use /usr/lib even on 64bit architectures.


Modified: openser/trunk/debian/patches/00list
===================================================================
--- openser/trunk/debian/patches/00list	2006-07-12 11:55:55 UTC (rev 2048)
+++ openser/trunk/debian/patches/00list	2006-07-12 12:07:33 UTC (rev 2049)
@@ -0,0 +1,2 @@
+10_no_lib64_on_64_bits
+

Added: openser/trunk/debian/patches/10_no_lib64_on_64_bits.dpatch
===================================================================
--- openser/trunk/debian/patches/10_no_lib64_on_64_bits.dpatch	2006-07-12 11:55:55 UTC (rev 2048)
+++ openser/trunk/debian/patches/10_no_lib64_on_64_bits.dpatch	2006-07-12 12:07:33 UTC (rev 2049)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_no_lib64_on_64_bits.dpatch by  <jblache at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Debian uses /usr/lib even for 64bit architectures.
+
+ at DPATCH@
+diff -urNad openser-1.1.0~/Makefile.defs openser-1.1.0/Makefile.defs
+--- openser-1.1.0~/Makefile.defs	2006-07-12 14:03:28.000000000 +0200
++++ openser-1.1.0/Makefile.defs	2006-07-12 14:04:54.573861646 +0200
+@@ -115,14 +115,12 @@
+ bin-dir = sbin/
+ 
+ ARCH_B= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
+-ifeq ($(ARCH_B),64b)
+-	LIBDIR ?= lib64
+-else
+-	LIBDIR ?= lib
++ifneq ($(ARCH_B),64b)
+ 	# assume 32b - it is not really used further
+ 	ARCH_B=32b
+ endif
+ 
++LIBDIR ?= lib
+ lib-dir = $(LIBDIR)/$(MAIN_NAME)
+ modules-dir = $(LIBDIR)/$(MAIN_NAME)/modules/
+ 


Property changes on: openser/trunk/debian/patches/10_no_lib64_on_64_bits.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list