View | Details | Raw Unified | Return to bug 125939
Collapse All | Expand All

(-)Makefile (+9 lines)
Lines 35-40 Link Here
35
OPTIONS=        TDM_VOICE "Enable TDM Voice support" off           \
35
OPTIONS=        TDM_VOICE "Enable TDM Voice support" off           \
36
                WAN_PROTOCOL "Enable Wanpipe Protocol support" off
36
                WAN_PROTOCOL "Enable Wanpipe Protocol support" off
37
37
38
NO_PACKAGE=	Should be in sync with the kernel to work correctly
39
38
.include <bsd.port.pre.mk>
40
.include <bsd.port.pre.mk>
39
41
40
.if defined(WITH_TDM_VOICE)
42
.if defined(WITH_TDM_VOICE)
Lines 51-56 Link Here
51
EXTRA_ARGS+=     WITH_WAN_PROTOCOL
53
EXTRA_ARGS+=     WITH_WAN_PROTOCOL
52
.endif
54
.endif
53
55
56
pre-everything::
57
	@if [ ! -f /usr/src/sys/Makefile ]; then \
58
		${ECHO_MSG} ">> The wanpipe port needs FreeBSD kernel source code to compile."; \
59
		${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \
60
		${FALSE}; \
61
	fi
62
54
do-configure:
63
do-configure:
55
	@${SH} ${PKGCONFIG} ${DISTNAME} do-configure ${EXTRA_ARGS}
64
	@${SH} ${PKGCONFIG} ${DISTNAME} do-configure ${EXTRA_ARGS}
56
65

Return to bug 125939