Port mrd6 to -ng
[openwrt/svn-archive/archive.git] / net / mrd6 / patches / 01-ceilf_replacement.patch
1 diff -urN mrd6-0.9.5/src/Makefile mrd6-0.9.5.new/src/Makefile
2 --- mrd6-0.9.5/src/Makefile 2005-12-18 19:15:04.000000000 +0100
3 +++ mrd6-0.9.5.new/src/Makefile 2006-02-11 18:30:44.000000000 +0100
4 @@ -43,7 +43,7 @@
5 CFLAGS += -DNO_INET6_OPTION
6 endif
7
8 -DEST_PREFIX = $(DESTDIR)$(PREFIX)
9 +DEST_PREFIX = $(DESTDIR)/$(PREFIX)
10
11 ifeq ($(OPTIMIZE),yes)
12 ifeq ($(SPACE_OPTIMIZE),yes)
13 @@ -97,7 +97,7 @@
14 endif
15 endif
16
17 -LDFLAGS += -lm
18 +LDFLAGS += -lm -lnotimpl -L$(STAGING_DIR)/usr/lib
19 ifeq ($(PLATFORM),OS_LINUX)
20 LDFLAGS += -ldl
21 endif