summaryrefslogtreecommitdiff
path: root/package/ccid/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-07-28 21:41:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-07-28 21:41:55 +0200
commitac6e6711d6b6d83fab8f017acb1eff5d5082add7 (patch)
tree105a296f87c3a82ba1cbe90dd0d2fa3f0fd47e90 /package/ccid/patches
parent545d073033cbd01c6b3230d9d95ca298cc8a4857 (diff)
fix compile under Darwin
Diffstat (limited to 'package/ccid/patches')
-rw-r--r--package/ccid/patches/patch-configure21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/ccid/patches/patch-configure b/package/ccid/patches/patch-configure
new file mode 100644
index 000000000..7235e9ef8
--- /dev/null
+++ b/package/ccid/patches/patch-configure
@@ -0,0 +1,21 @@
+--- ccid-1.4.4.orig/configure 2011-05-13 11:19:09.000000000 +0200
++++ ccid-1.4.4/configure 2011-07-28 10:54:49.000000000 +0200
+@@ -12207,17 +12207,8 @@ done
+ # Select OS specific versions of source files.
+
+
+-BUNDLE_HOST=`uname | sed -e s,/,_,`
++BUNDLE_HOST=Linux
+ DYN_LIB_EXT="so"
+-case "$BUNDLE_HOST" in
+-Darwin)
+- BUNDLE_HOST=MacOS
+- DYN_LIB_EXT="dylib"
+- ;;
+-SunOS)
+- BUNDLE_HOST=Solaris
+- ;;
+- esac
+
+ # --disable-libusb
+ # Check whether --enable-libusb was given.