From 880907edcf33ae71ddf206bb522d0bbbf5cd4a22 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 24 Mar 2007 20:54:50 +0000 Subject: [PATCH] fix rp-l2tp build SVN-Revision: 6679 --- net/rp-l2tp/Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 -- 2.30.2