From: Felix Fietkau Date: Sat, 24 Mar 2007 20:54:50 +0000 (+0000) Subject: fix rp-l2tp build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=880907edcf33ae71ddf206bb522d0bbbf5cd4a22;p=openwrt%2Fsvn-archive%2Fpackages.git fix rp-l2tp build SVN-Revision: 6679 --- diff --git a/net/rp-l2tp/Makefile b/net/rp-l2tp/Makefile index 951cc7b8f..12eaa616f 100644 --- a/net/rp-l2tp/Makefile +++ b/net/rp-l2tp/Makefile @@ -50,13 +50,11 @@ define Package/rp-l2tpd-mod-ppp endef # uses GNU configure +MAKE_FLAGS += \ + DESTDIR="$(PKG_INSTALL_DIR)" \ + all install -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install -endef +TARGET_CFLAGS := -I$(PKG_BUILD_DIR)/libevent $(TARGET_CFLAGS) define Package/rp-l2tpd/install $(INSTALL_DIR) $(1)/etc