[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:
parent
bcd08020dd
commit
75ba1369c3
@ -17,6 +17,7 @@ PKG_MD5SUM:=4a371025daf96adb73fa491efdbfef28
|
|||||||
|
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
PKG_FIXUP:=autoreconf
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -40,13 +41,9 @@ define Package/netatalk/conffiles
|
|||||||
/etc/netatalk/afpd.conf
|
/etc/netatalk/afpd.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(STAGING_DIR)/usr/include
|
TARGET_CFLAGS += -std=c99 -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
||||||
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
|
|
||||||
TARGET_LDFLAGS += $(LIBRPC)
|
TARGET_LDFLAGS += $(LIBRPC)
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
|
||||||
CFLAGS="$(TARGET_CFLAGS) -std=gnu99 -DNO_DEBUG "
|
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--disable-afs \
|
--disable-afs \
|
||||||
--enable-hfs \
|
--enable-hfs \
|
||||||
|
9
net/netatalk/patches/001-automake-compat.patch
Normal file
9
net/netatalk/patches/001-automake-compat.patch
Normal 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"
|
||||||
|
|
||||||
|
])
|
Loading…
x
Reference in New Issue
Block a user