[packages] rp-pppoe: build depends on ppp, search includes in staging dir
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 3 Jun 2009 18:43:52 +0000 (18:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 3 Jun 2009 18:43:52 +0000 (18:43 +0000)
SVN-Revision: 16314

net/rp-pppoe/Makefile

index 558aa36..8a4d078 100644 (file)
@@ -15,6 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://roaringpenguin.com/files/download
 PKG_MD5SUM:=d58a13cc4185bca6121a606ff456dec0
 
+PKG_BUILD_DEPENDS:=ppp
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/rp-pppoe/Default
@@ -73,7 +75,7 @@ endef
 
 TARGET_CFLAGS += -I$(PKG_BUILD_DIR)/src/libevent
 CONFIGURE_PATH := ./src
-CONFIGURE_ARGS += ac_cv_path_PPPD=/usr/sbin/pppd --enable-plugin=../../ppp-2.4.4/ipkg-install/usr/include/
+CONFIGURE_ARGS += ac_cv_path_PPPD=/usr/sbin/pppd --enable-plugin=$(STAGING_DIR)/usr/include/
 MAKE_FLAGS := DESTDIR="$(PKG_INSTALL_DIR)" install
 MAKE_PATH := ./src