Modify

Opened 4 years ago

Last modified 4 years ago

#16625 new defect

pptpd: add ppp build dependency

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Please, add following build-dependency:

diff --git a/net/pptpd/Makefile b/net/pptpd/Makefile
index 2a44c7c..bfe0364 100644
--- a/net/pptpd/Makefile
+++ b/net/pptpd/Makefile
@@ -15,6 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/poptop
 PKG_MD5SUM:=36f9f45c6ffa92bc3b6e24ae2d053505

+PKG_BUILD_DEPENDS:=ppp
+
 PKG_INSTALL:=1

 include $(INCLUDE_DIR)/package.mk

otherwise, pptpd compilation will fail with:

pptpd-logwtmp.c:15:23: fatal error: pppd/pppd.h: No such file or directory
compilation terminated.
make[5]: *** [pptpd-logwtmp.so] Error 1

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by ryzhov_al

Previous patch was incomplete, sorry:

diff --git a/net/pptpd/Makefile b/net/pptpd/Makefile
index 2a44c7c..abefc68 100644
--- a/net/pptpd/Makefile
+++ b/net/pptpd/Makefile
@@ -15,6 +15,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/poptop
 PKG_MD5SUM:=36f9f45c6ffa92bc3b6e24ae2d053505

+PKG_BUILD_DEPENDS:=ppp
+
 PKG_INSTALL:=1

 include $(INCLUDE_DIR)/package.mk
@@ -35,7 +37,7 @@ CONFIGURE_VARS += \
        ac_cv_header_libintl_h=no \

 MAKE_FLAGS += \
-       COPTS="$(TARGET_CFLAGS)" \
+       COPTS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
        INSTALL="install" \

 define Package/pptpd/conffiles

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.