[PATCH] [package] pcmciautils: fix pccardctl segfault

Signed-off-by: Erik Inge Bols? <knan-openwrt@anduin.net>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15265 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2009-04-19 15:57:27 +00:00
parent 8937ea5f6d
commit db57b66675

View File

@ -1,5 +1,5 @@
#
# Copyright (C) 2008 OpenWrt.org
# Copyright (C) 2008-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=pcmciautils
PKG_VERSION:=015
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.kernel.org/pub/linux/utils/kernel/pcmcia/
@ -31,7 +31,7 @@ define Build/Compile
$(call Build/Compile/Default, \
LD="$(TARGET_CC)" UDEV=false \
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) \
-DPCMCIAUTILS_VERSION=$(PKG_VERSION)" \
-DPCMCIAUTILS_VERSION=\\\"$(PKG_VERSION)\\\"" \
prefix=/usr all \
)
endef