summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-02 00:16:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-02 00:16:07 +0200
commit27954674d8c43999154076a2df1cc745626a3823 (patch)
tree7fae8c8902d692d66c78aedf7e1ed1ab23716daa
parent342a958a68a59f2e70cff8cc5a77233aed5a9d58 (diff)
fix cross-compile on Cygwin
-rw-r--r--package/pdnsd/Makefile4
-rw-r--r--package/pdnsd/patches/patch-src_Makefile_in11
2 files changed, 14 insertions, 1 deletions
diff --git a/package/pdnsd/Makefile b/package/pdnsd/Makefile
index 64757186b..61db9b39c 100644
--- a/package/pdnsd/Makefile
+++ b/package/pdnsd/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= pdnsd
PKG_VERSION:= 1.2.7
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 114b3b21b09b43cbfcccdde726b84c12
PKG_DESCR:= Proxy DNS server with permanent caching
PKG_SECTION:= net
@@ -21,6 +21,8 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PDNSD,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+CONFIGURE_ARGS+= --with-target=Linux
+
post-install:
$(INSTALL_DIR) $(IDIR_PDNSD)/etc
${INSTALL_DATA} ./files/pdnsd.conf ${IDIR_PDNSD}/etc/
diff --git a/package/pdnsd/patches/patch-src_Makefile_in b/package/pdnsd/patches/patch-src_Makefile_in
new file mode 100644
index 000000000..6ab8de4e1
--- /dev/null
+++ b/package/pdnsd/patches/patch-src_Makefile_in
@@ -0,0 +1,11 @@
+--- pdnsd-1.2.7.orig/src/Makefile.in 2008-09-04 18:20:37.000000000 +0200
++++ pdnsd-1.2.7/src/Makefile.in 2010-05-29 17:45:45.937500000 +0200
+@@ -171,7 +171,7 @@ pdnsd_SOURCES = conf-parser.c conff.c co
+ rr_types.h servers.h status.h thread.h cache.h hash.h pdnsd_assert.h \
+ freebsd_netinet_ip_icmp.h
+
+-SUBDIRS = pdnsd-ctl rc test
++SUBDIRS = pdnsd-ctl rc
+ all: all-recursive
+
+ .SUFFIXES: