summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-29 00:29:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-29 00:29:14 +0100
commit9a21650e0195ac7b6d733ad8ba0700ccfaa574f6 (patch)
treed12cdd5989c3fe35bd4b5db12a747d25155f8c0c /package
parent7fe44c3270a5f83833f352d94ed5b7380b962f68 (diff)
fix cygwin compile issues
remove xmlto dependency, do not generate alsa manpages let aiccu cross-compile on != linux hosts
Diffstat (limited to 'package')
-rw-r--r--package/Config.in3
-rw-r--r--package/aiccu/Makefile11
-rw-r--r--package/aiccu/patches/patch-unix-console_Makefile171
-rw-r--r--package/alsa-utils/patches/patch-alsactl_Makefile_in31
-rw-r--r--package/aufs2-util/Makefile7
-rw-r--r--package/ncurses/Makefile9
6 files changed, 210 insertions, 22 deletions
diff --git a/package/Config.in b/package/Config.in
index 9693e27b0..8ca8e3015 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -89,7 +89,6 @@ source "package/mc/Config.in"
source "package/mgetty/Config.in"
source "package/monit/Config.in"
source "package/motion/Config.in"
-source "package/mysql/Config.in"
source "package/osiris/Config.in"
source "package/rrdtool/Config.in"
source "package/rrdcollect/Config.in"
@@ -462,6 +461,8 @@ source "package/libmad/Config.in"
source "package/libmad/Config.in.lib"
source "package/libmms/Config.in"
source "package/libmms/Config.in.lib"
+source "package/mysql/Config.in"
+source "package/mysql/Config.in.lib"
source "package/ncurses/Config.in"
source "package/ncurses/Config.in.lib"
source "package/neon/Config.in"
diff --git a/package/aiccu/Makefile b/package/aiccu/Makefile
index 0aba387be..590786ee1 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:= 7
+PKG_RELEASE:= 8
PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350
PKG_DESCR:= SixXS Automatic IPv6 Connectivity Client Utility
PKG_SECTION:= net
@@ -18,20 +18,17 @@ WRKDIST= ${WRKDIR}/$(PKG_NAME)
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,AICCU,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TCFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
-D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
TLDFLAGS+= -lpthread -lresolv
-BUILD_STYLE= auto
+BUILD_STYLE:= auto
MAKE_FLAGS+= CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' LDFLAGS='${TLDFLAGS}'
do-install:
- $(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin
- $(INSTALL_DIR) $(IDIR_AICCU)/etc/init.d
+ $(INSTALL_DIR) $(IDIR_AICCU)/usr/sbin $(IDIR_AICCU)/etc
$(INSTALL_BIN) $(WRKBUILD)/unix-console/aiccu $(IDIR_AICCU)/usr/sbin/
- $(INSTALL_BIN) ./files/aiccu.init \
- $(IDIR_AICCU)/etc/init.d/aiccu
$(INSTALL_DATA) $(WRKBUILD)/doc/aiccu.conf $(IDIR_AICCU)/etc/aiccu.conf
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/aiccu/patches/patch-unix-console_Makefile b/package/aiccu/patches/patch-unix-console_Makefile
index fe7f87f20..8d49be52d 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 Mon Jan 15 11:04:04 2007
-+++ aiccu/unix-console/Makefile Mon Jun 25 13:19:42 2007
+--- 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
@@ -10,9 +10,9 @@
# $Date: 2007-01-15 11:04:27 $
# **********************************************************/
@@ -13,7 +13,172 @@ $Id$
# New features not fully implemented and thus disabled for now
#CFLAGS += -D NEWSTUFF_TSP -D NEWSTUFF_TEEPEE
-@@ -145,11 +145,6 @@ all: aiccu
+@@ -46,110 +46,103 @@ LDFLAGS += -lgnutls
+ endif
+
+ # Linux
+-ifeq ($(shell uname | grep -c "Linux"),1)
+ CFLAGS += -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\""
+ SRCS += ../common/aiccu_linux.c
+ OBJS += ../common/aiccu_linux.o
+ LDFLAGS += -lpthread -lresolv
+-endif
+
+ # FreeBSD
+-ifeq ($(shell uname | grep -c "FreeBSD"),1)
+-CFLAGS += -D_FREEBSD
++#ifeq ($(shell uname | grep -c "FreeBSD"),1)
++#CFLAGS += -D_FREEBSD
+
+ # FreeBSD 4.x
+-ifeq ($(shell uname -r | cut -c 1),4)
+-CFLAGS += -D AICCU_TYPE="\"freebsd4\""
+-SRCS += ../common/aiccu_freebsd4.c
+-OBJS += ../common/aiccu_freebsd4.o
+-else
++#ifeq ($(shell uname -r | cut -c 1),4)
++#CFLAGS += -D AICCU_TYPE="\"freebsd4\""
++#SRCS += ../common/aiccu_freebsd4.c
++#OBJS += ../common/aiccu_freebsd4.o
++#else
+ # FreeBSD 5.x/6.x/7.x
+-CFLAGS += -D NEED_IFHEAD -D AICCU_TYPE="\"kame\""
+-SRCS += ../common/aiccu_kame.c
+-OBJS += ../common/aiccu_kame.o
+-endif
+-endif
++#CFLAGS += -D NEED_IFHEAD -D AICCU_TYPE="\"kame\""
++#SRCS += ../common/aiccu_kame.c
++#OBJS += ../common/aiccu_kame.o
++#endif
++#endif
+
+ # DragonFlyBSD
+-ifeq ($(shell uname | grep -c "DragonFly"),1)
+-CFLAGS += -D_DFBSD -D NEED_IFHEAD -D AICCU_TYPE="\"dragonfly\""
+-SRCS += ../common/aiccu_freebsd4.c
+-OBJS += ../common/aiccu_freebsd4.o
+-CFLAGS += -pthread
+-endif
++#ifeq ($(shell uname | grep -c "DragonFly"),1)
++#CFLAGS += -D_DFBSD -D NEED_IFHEAD -D AICCU_TYPE="\"dragonfly\""
++#SRCS += ../common/aiccu_freebsd4.c
++#OBJS += ../common/aiccu_freebsd4.o
++#CFLAGS += -pthread
++#endif
+
+ # NetBSD
+-ifeq ($(shell uname | grep -c "NetBSD"),1)
+-CFLAGS += -D_NETBSD -D AICCU_TYPE="\"kame\""
+-
++#ifeq ($(shell uname | grep -c "NetBSD"),1)
++#CFLAGS += -D_NETBSD -D AICCU_TYPE="\"kame\""
++#
+ # Check if net/if_tun.h has TUNSIFHEAD and enable support for it
+-ifneq ($(shell grep -c TUNSIFHEAD /usr/include/net/if_tun.h 2>/dev/null),1)
++#ifneq ($(shell grep -c TUNSIFHEAD /usr/include/net/if_tun.h 2>/dev/null),1)
+ # Supports TUNSIFHEAD -> AYIYA/l2tp available
+-CFLAGS += -D NEED_IFHEAD
+-else
++#CFLAGS += -D NEED_IFHEAD
++#else
+ # Doesn't support TUNSIFHEAD -> No AYIYA/l2tp available
+-CFLAGS += -D NO_IFHEAD
+-endif
++#CFLAGS += -D NO_IFHEAD
++#endif
+
+-SRCS += ../common/aiccu_kame.c
+-OBJS += ../common/aiccu_kame.o
+-CFLAGS += -pthread -D_NETBSD_SOURCE
+-endif
++#SRCS += ../common/aiccu_kame.c
++#OBJS += ../common/aiccu_kame.o
++#CFLAGS += -pthread -D_NETBSD_SOURCE
++#endif
+
+ # OpenBSD
+-ifeq ($(shell uname | grep -c "OpenBSD"),1)
+-CFLAGS += -D_OPENBSD -D HAS_IFHEAD
+-# 2.7-2.9
+-ifeq ($(shell uname -r | cut -c 1),2)
+-CFLAGS += -D AICCU_TYPE="\"openbsd2\""
+-SRCS += ../common/aiccu_openbsd2.c
+-OBJS += ../common/aiccu_openbsd2.o
+-else
+-# 3.x-4.x etc
+-CFLAGS += -D AICCU_TYPE="\"openbsd\""
+-SRCS += ../common/aiccu_openbsd.c
+-OBJS += ../common/aiccu_openbsd.o
+-endif
+-CFLAGS += -pthread
+-endif
++#ifeq ($(shell uname | grep -c "OpenBSD"),1)
++#CFLAGS += -D_OPENBSD -D HAS_IFHEAD
++## 2.7-2.9
++#ifeq ($(shell uname -r | cut -c 1),2)
++#CFLAGS += -D AICCU_TYPE="\"openbsd2\""
++#SRCS += ../common/aiccu_openbsd2.c
++#OBJS += ../common/aiccu_openbsd2.o
++#else
++## 3.x-4.x etc
++#CFLAGS += -D AICCU_TYPE="\"openbsd\""
++#SRCS += ../common/aiccu_openbsd.c
++#OBJS += ../common/aiccu_openbsd.o
++#endif
++#CFLAGS += -pthread
++#endif
+
+ # Darwin
+-ifeq ($(shell uname | grep -c "Darwin"),1)
+-CFLAGS += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\""
+-SRCS += ../common/aiccu_darwin.c
+-OBJS += ../common/aiccu_darwin.o
+-LDFLAGS += -lresolv
+-endif
++#ifeq ($(shell uname | grep -c "Darwin"),1)
++#CFLAGS += -D_DARWIN -D NEED_IFHEAD -D AICCU_TYPE="\"darwin\""
++#SRCS += ../common/aiccu_darwin.c
++#OBJS += ../common/aiccu_darwin.o
++#LDFLAGS += -lresolv
++#endif
+
+ # SunOS / Solaris
+-ifeq ($(shell uname | grep -c "SunOS"),1)
+-CFLAGS += -D_SUNOS -D AICCU_TYPE="\"sunos\""
+-SRCS += ../common/aiccu_sunos.c
+-OBJS += ../common/aiccu_sunos.o
+-LDFLAGS += -lsocket -lnsl -lresolv
+-endif
++#ifeq ($(shell uname | grep -c "SunOS"),1)
++#CFLAGS += -D_SUNOS -D AICCU_TYPE="\"sunos\""
++#SRCS += ../common/aiccu_sunos.c
++#OBJS += ../common/aiccu_sunos.o
++#LDFLAGS += -lsocket -lnsl -lresolv
++#endif
+
+ # AIX
+-ifeq ($(shell uname | grep -c "AIX"),1)
+-CC = @/usr/vac/bin/xlc_r
+-CFLAGS = -qthreaded -q64 -qlanglvl=stdc99 -bmaxdata:0xD0000000 -D_64BIT -g -qdbxextra -qfullpath -qheapdebug -qformat=all -qcheck=all
+-CFLAGS += -D AICCU_CONSOLE
+-CFLAGS += -D_AIX -D AICCU_TYPE="\"aix\""
+-SRCS += ../common/aiccu_aix.c
+-OBJS += ../common/aiccu_aix.o
+-LDFLAGS += -lpthread
+-endif
++#ifeq ($(shell uname | grep -c "AIX"),1)
++#CC = @/usr/vac/bin/xlc_r
++#CFLAGS = -qthreaded -q64 -qlanglvl=stdc99 -bmaxdata:0xD0000000 -D_64BIT -g -qdbxextra -qfullpath -qheapdebug -qformat=all -qcheck=all
++#CFLAGS += -D AICCU_CONSOLE
++#CFLAGS += -D_AIX -D AICCU_TYPE="\"aix\""
++#SRCS += ../common/aiccu_aix.c
++#OBJS += ../common/aiccu_aix.o
++#LDFLAGS += -lpthread
++#endif
+
+
+ all: aiccu
aiccu: $(OBJS) ${SRCS} ${INCS}
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
diff --git a/package/alsa-utils/patches/patch-alsactl_Makefile_in b/package/alsa-utils/patches/patch-alsactl_Makefile_in
new file mode 100644
index 000000000..bc9f90dd5
--- /dev/null
+++ b/package/alsa-utils/patches/patch-alsactl_Makefile_in
@@ -0,0 +1,31 @@
+--- alsa-utils-1.0.21.orig/alsactl/Makefile.in 2009-08-31 17:14:23.000000000 +0200
++++ alsa-utils-1.0.21/alsactl/Makefile.in 2009-12-28 17:27:46.140625000 +0100
+@@ -573,7 +573,7 @@ distdir: $(DISTFILES)
+ done
+ check-am: all-am
+ check: check-recursive
+-all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
++all-am: Makefile $(PROGRAMS) $(HEADERS)
+ installdirs: installdirs-recursive
+ installdirs-am:
+ for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man7dir)"; do \
+@@ -623,7 +623,7 @@ info: info-recursive
+
+ info-am:
+
+-install-data-am: install-man
++install-data-am:
+
+ install-exec-am: install-sbinPROGRAMS
+
+@@ -672,8 +672,8 @@ uninstall-man: uninstall-man1 uninstall-
+ uninstall-man1 uninstall-man7 uninstall-sbinPROGRAMS
+
+
+-%.7: %.xml
+- xmlto man $?
++#%.7: %.xml
++# xmlto man $?
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/package/aufs2-util/Makefile b/package/aufs2-util/Makefile
index 4457775b9..3d100010d 100644
--- a/package/aufs2-util/Makefile
+++ b/package/aufs2-util/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_DESCR:= aufs2 utilities
PKG_SECTION:= admin
PKG_URL:= http://aufs.sf.net/
+PKG_HOST_DEPENDS:= !cygwin !freebsd
NO_DISTFILES:= 1
@@ -24,10 +25,4 @@ do-extract:
mkdir -p ${WRKBUILD}
${CP} ./src/* ${WRKBUILD}/
-do-configure:
-
-#post-install:
-# $(INSTALL_DIR) $(IDIR_BASH)/bin
-# $(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/
-
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ncurses/Makefile b/package/ncurses/Makefile
index dcdef3763..9dd44d4cc 100644
--- a/package/ncurses/Makefile
+++ b/package/ncurses/Makefile
@@ -66,11 +66,10 @@ post-install:
${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/lib
${CP} ${WRKINST}/usr/lib/lib{form,menu,ncurses,panel}.so* \
${IDIR_LIBNCURSES}/usr/lib
- for f in a/ansi d/dumb l/linux r/rxvt s/screen v/vt100 v/vt102 \
- v/vt220 w/wsvt25 x/xterm x/xterm-color x/xterm-xfree86; do \
- ${INSTALL_DIR} \
- ${IDIR_LIBNCURSES}/usr/share/terminfo/$$(dirname $$f); \
- ${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/$$f \
+ ${INSTALL_DIR} ${IDIR_LIBNCURSES}/usr/share/terminfo/
+ for f in ansi dumb linux rxvt screen vt100 vt102 \
+ vt220 wsvt25 xterm xterm-color xterm-xfree86; do \
+ ${INSTALL_DATA} ${WRKINST}/usr/share/terminfo/*/$$f \
${IDIR_LIBNCURSES}/usr/share/terminfo/$$f; \
done
${INSTALL_DIR} ${IDIR_LIBNCURSES_DEV}/usr/include