~ubuntu-branches/ubuntu/vivid/nqp/vivid

« back to all changes in this revision

Viewing changes to .pc/04_use-dpkg-arch-in-dyncall-conf.patch/3rdparty/dyncall/configure

  • Committer: Package Import Robot
  • Author(s): Alessandro Ghedini
  • Date: 2012-06-08 14:57:52 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120608145752-ziumy2rhxboeuf3r
Tags: 0.1~2012.04.1-1
* New upstream release
* Bump required parrot version
* Refresh patches
* Bump upstream copyright years for dyncall
* Use dh_parrot debhelper plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    CONFIG_OS="sunos"
123
123
  elif [ "$OS" = "OpenBSD" ]; then
124
124
    CONFIG_OS="openbsd"
125
 
  elif [ "$OS" = "FreeBSD" ]; then
 
125
  elif [ "$OS" = "FreeBSD" ] ||
 
126
       [ "$OS" = "GNU/kFreeBSD" ]; then
126
127
    CONFIG_OS="freebsd"
127
128
  elif [ "$OS" = "NetBSD" ]; then
128
129
    CONFIG_OS="netbsd"
132
133
    CONFIG_OS="beos"
133
134
  elif [ "$OS" = "Minix" ]; then
134
135
    CONFIG_OS="minix"
135
 
  elif [ "$OS" = "GNU/kFreeBSD" ]; then
136
 
    CONFIG_OS="freebsd"
137
136
  fi
138
137
  info "guess operating system $CONFIG_OS"
139
138
}
170
169
      # We switch to x86_64 if it is darwin 10.
171
170
      OS_VERSION=`uname -r`
172
171
      OS_VERSION_MAJOR=`echo $OS_VERSION | sed 's/^\([0-9]*\).*/\1/'`
173
 
      if [ "$OS_VERSION_MAJOR" = "10" ]; then
 
172
      if [ "$OS_VERSION_MAJOR" = "10" ] || [ "$OS_VERSION_MAJOR" = "11" ]; then
174
173
        CONFIG_ARCH="x64"
175
174
      else
176
175
        CONFIG_ARCH="x86"