[packages] netatalk: remove some redundant CFLAG overrides, use autoreconf to ensure a consistent configure outcome, patch broken shipped iconv.m4

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28482 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-10-17 14:52:22 +00:00
parent bcd08020dd
commit 75ba1369c3
2 changed files with 11 additions and 5 deletions

View File

@ -17,6 +17,7 @@ PKG_MD5SUM:=4a371025daf96adb73fa491efdbfef28
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
@ -40,13 +41,9 @@ define Package/netatalk/conffiles
/etc/netatalk/afpd.conf
endef
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
TARGET_CFLAGS += -std=c99 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
TARGET_LDFLAGS += $(LIBRPC)
CONFIGURE_VARS += \
CFLAGS="$(TARGET_CFLAGS) -std=gnu99 -DNO_DEBUG "
CONFIGURE_ARGS += \
--disable-afs \
--enable-hfs \

View File

@ -0,0 +1,9 @@
--- a/macros/iconv.m4
+++ b/macros/iconv.m4
@@ -114,6 +114,5 @@ int main() {
CFLAGS="$savedcflags"
LDFLAGS="$savedldflags"
- CPPFLAGS="$saved_CPPFLAGS"
])