~ubuntu-branches/ubuntu/natty/psqlodbc/natty

« back to all changes in this revision

Viewing changes to debian/patches/01_config.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Peter Eisentraut
  • Date: 2004-11-14 16:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20041114161231-hurw3wphq2vr9sr4
Tags: 1:07.03.0200-5
* Corrected license to old LGPL 2
* Big debian/rules modernization
* Moved odbc.ini.template to examples directory
* Converted to dpatch
* Added update of config.{guess,sub}
* Renamed unixodbc.HOWTO to README.Debian; revised
* Moved installation to /usr/lib/odbc; added symlink to old location
  for compatibility
* Dropped postgresql-dev dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -e
 
2
## config.dpatch
 
3
## Ralf Treinen <treinen@debian.org>
 
4
##
 
5
## All lines beginning with `## DP:' are a description of the patch.
 
6
## DP: replace all config.{guess,sub} by the vesion installed in
 
7
## DP: /usr/share/misc
 
8
 
 
9
dpatch_patch ()
 
10
{
 
11
        find . -name config.guess -o -name config.sub \
 
12
                | tar cf debian/patched/config.guess+sub.tar -T -
 
13
        find . -name config.guess \
 
14
                -exec ln -sf /usr/share/misc/config.guess '{}' \;
 
15
        find . -name config.sub \
 
16
                -exec ln -sf /usr/share/misc/config.sub '{}' \;
 
17
}
 
18
 
 
19
dpatch_unpatch ()
 
20
{
 
21
        tar xf debian/patched/config.guess+sub.tar
 
22
}
 
23
 
 
24
DPATCH_LIB_NO_DEFAULT=1
 
25
 
 
26
. /usr/share/dpatch/dpatch.lib.sh
 
27
 
 
28
# arch-tag: 8a610a57-687b-4395-8ff2-79265c0a4eb3