[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

CVS:neon23-deb/debian/patches 04_relibtoolize.dpatch,NONE,1.1 00list,1.3,1.4



Update of /cvs/debian-openoffice/neon23-deb/debian/patches
In directory gluck:/tmp/cvs-serv6606/patches

Modified Files:
	00list 
Added Files:
	04_relibtoolize.dpatch 
Log Message:
make the relibtoolizing a patch

--- NEW FILE: 04_relibtoolize.dpatch ---
#! /bin/sh -e
## 04_relibtoolize.dpatch by Rene Engelhard <rene@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

if [ $# -lt 1 ]; then
    echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
    exit 1
fi

[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"

case "$1" in
    -patch) patch -p1 ${patch_opts} < $0;;
    -unpatch) patch -R -p1 ${patch_opts} < $0;;
    *)
        echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
[...38915 lines suppressed...]
+# choices, we go for a static library, that is the most portable,
+# since we can't tell whether shared libraries were disabled because
+# the user asked for that or because the platform doesn't support
+# them.  This is particularly important on AIX, because we don't
+# support having both static and shared libraries enabled at the same
+# time on that platform, so we default to a shared-only configuration.
+# If a disable-shared tag is given, we'll fallback to a static-only
+# configuration.  But we'll never go from static-only to shared-only.
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-shared
+build_libtool_libs=no
+build_old_libs=yes
+# ### END LIBTOOL TAG CONFIG: disable-shared
+
+# ### BEGIN LIBTOOL TAG CONFIG: disable-static
+build_old_libs=`case $build_libtool_libs in yes) $echo no;; *) $echo yes;; esac`
+# ### END LIBTOOL TAG CONFIG: disable-static
 
 # Local Variables:
 # mode:shell-script

Index: 00list
===================================================================
RCS file: /cvs/debian-openoffice/neon23-deb/debian/patches/00list,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- 00list	19 May 2004 15:16:08 -0000	1.3
+++ 00list	18 Jun 2004 12:51:27 -0000	1.4
@@ -1,3 +1,4 @@
 01_CAN-2004-0179
 02_no_docs
 03_CAN-2004-0398
+04_relibtoolize



Reply to: