summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/aiccu/Makefile4
-rw-r--r--package/aiccu/patches/patch-unix-console_Makefile5
2 files changed, 5 insertions, 4 deletions
diff --git a/package/aiccu/Makefile b/package/aiccu/Makefile
index 50b2f005b..9a5b5cdad 100644
--- a/package/aiccu/Makefile
+++ b/package/aiccu/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= aiccu
PKG_VERSION:= 20070115
-PKG_RELEASE:= 8
+PKG_RELEASE:= 9
PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350
PKG_DESCR:= SixXS Automatic IPv6 Connectivity Client Utility
PKG_SECTION:= net
@@ -25,7 +25,7 @@ INSTALL_STYLE:= manual
TCFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
-D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
-TLDFLAGS+= -lpthread -lresolv
+TLDFLAGS+= -pthread -lresolv
MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' LDFLAGS='${TLDFLAGS}'
do-install:
diff --git a/package/aiccu/patches/patch-unix-console_Makefile b/package/aiccu/patches/patch-unix-console_Makefile
index 8d49be52d..c3e508121 100644
--- a/package/aiccu/patches/patch-unix-console_Makefile
+++ b/package/aiccu/patches/patch-unix-console_Makefile
@@ -1,6 +1,6 @@
$Id$
--- aiccu.orig/unix-console/Makefile 2007-01-15 12:04:27.000000000 +0100
-+++ aiccu/unix-console/Makefile 2009-12-28 16:39:06.687500000 +0100
++++ aiccu/unix-console/Makefile 2010-06-17 10:59:40.000000000 +0200
@@ -10,9 +10,9 @@
# $Date: 2007-01-15 11:04:27 $
# **********************************************************/
@@ -21,8 +21,9 @@ $Id$
CFLAGS += -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\""
SRCS += ../common/aiccu_linux.c
OBJS += ../common/aiccu_linux.o
- LDFLAGS += -lpthread -lresolv
+-LDFLAGS += -lpthread -lresolv
-endif
++LDFLAGS += -pthread -lresolv
# FreeBSD
-ifeq ($(shell uname | grep -c "FreeBSD"),1)