summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-07 19:29:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-07 19:29:14 +0100
commitacd808ff41ae90f1e22088654124f6c4ec149e83 (patch)
treead39aaa710f60dea8b730211fad20bb77d629ad8
parentd596ae6c3f2865a8a791d99bbf641812007cc349 (diff)
do not use duplicate CFLAGS
-rw-r--r--package/pcsc-lite/Makefile2
-rw-r--r--package/pcsc-lite/patches/patch-src_Makefile_in20
2 files changed, 21 insertions, 1 deletions
diff --git a/package/pcsc-lite/Makefile b/package/pcsc-lite/Makefile
index 003352a69..096625b96 100644
--- a/package/pcsc-lite/Makefile
+++ b/package/pcsc-lite/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= pcsc-lite
PKG_VERSION:= 1.6.6
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= f80d3ecd9569b71d557f283f16295c74
PKG_DESCR:= middleware for smartcards
PKG_SECTION:= crypto
diff --git a/package/pcsc-lite/patches/patch-src_Makefile_in b/package/pcsc-lite/patches/patch-src_Makefile_in
new file mode 100644
index 000000000..582fe0bb5
--- /dev/null
+++ b/package/pcsc-lite/patches/patch-src_Makefile_in
@@ -0,0 +1,20 @@
+--- pcsc-lite-1.6.6.orig/src/Makefile.in 2010-12-12 11:08:27.000000000 +0100
++++ pcsc-lite-1.6.6/src/Makefile.in 2011-01-07 19:27:46.000000000 +0100
+@@ -338,7 +338,7 @@ libpcsclite_la_SOURCES = \
+ winscard_msg.c
+
+ libpcsclite_la_LDFLAGS = -version-info 1:0:0
+-libpcsclite_la_CFLAGS = $(CFLAGS) $(PTHREAD_CFLAGS) -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE
++libpcsclite_la_CFLAGS = $(PTHREAD_CFLAGS) -DLIBPCSCLITE -DSIMCLIST_NO_DUMPRESTORE
+ libpcsclite_la_LIBADD = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS)
+ pcscd_SOURCES = \
+ atrhandler.c \
+@@ -390,7 +390,7 @@ pcscd_SOURCES = \
+ winscard_svc.c \
+ winscard_svc.h
+
+-pcscd_CFLAGS = $(CFLAGS) $(PTHREAD_CFLAGS) $(LIBUSB_CFLAGS) $(LIBHAL_CFLAGS) \
++pcscd_CFLAGS = $(PTHREAD_CFLAGS) $(LIBUSB_CFLAGS) $(LIBHAL_CFLAGS) \
+ -DPCSCD -DSIMCLIST_NO_DUMPRESTORE
+
+ pcscd_LDFLAGS = $(LDFLAGS) -export-dynamic