Date: Mon, 18 Aug 2008 23:50:05 GMT From: Josh Paetzel <josh@tcbug.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/125939: New Port: misc/wanpipe drivers for various sangoma cards Message-ID: <200808182350.m7INo5WY057201@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/125939; it has been noted by GNATS. From: Josh Paetzel <josh@tcbug.org> To: bug-followup@freebsd.org Cc: edwin@freebsd.org Subject: Re: ports/125939: New Port: misc/wanpipe drivers for various sangoma cards Date: Mon, 18 Aug 2008 18:42:41 -0500 --Boundary-00=_yjgqIcHqjjATIJp Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 17 August 2008 05:47:17 am Josh Paetzel wrote: > It builds fine in a jail. The zaptel port requires the kernel sources to > be installed. > > What issues did you have? Per our offlist conversation, the port requires the kernel source tree to build and should not be packaged. Please apply the following patch: -- --- Makefile.old 2008-08-18 23:25:09.000000000 +0000 +++ Makefile 2008-08-18 23:31:39.000000000 +0000 @@ -35,6 +35,8 @@ OPTIONS= TDM_VOICE "Enable TDM Voice support" off \ WAN_PROTOCOL "Enable Wanpipe Protocol support" off +NO_PACKAGE= Should be in sync with the kernel to work correctly + .include <bsd.port.pre.mk> .if defined(WITH_TDM_VOICE) @@ -51,6 +53,13 @@ EXTRA_ARGS+= WITH_WAN_PROTOCOL .endif +pre-everything:: + @if [ ! -f /usr/src/sys/Makefile ]; then \ + ${ECHO_MSG} ">> The wanpipe port needs FreeBSD kernel source code to compile."; \ + ${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \ + ${FALSE}; \ + fi + do-configure: @${SH} ${PKGCONFIG} ${DISTNAME} do-configure ${EXTRA_ARGS} Attached in case of mail client mangling. Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --Boundary-00=_yjgqIcHqjjATIJp Content-Type: text/x-diff; charset="iso-8859-1"; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.diff" --- Makefile.old 2008-08-18 23:25:09.000000000 +0000 +++ Makefile 2008-08-18 23:31:39.000000000 +0000 @@ -35,6 +35,8 @@ OPTIONS= TDM_VOICE "Enable TDM Voice support" off \ WAN_PROTOCOL "Enable Wanpipe Protocol support" off +NO_PACKAGE= Should be in sync with the kernel to work correctly + .include <bsd.port.pre.mk> .if defined(WITH_TDM_VOICE) @@ -51,6 +53,13 @@ EXTRA_ARGS+= WITH_WAN_PROTOCOL .endif +pre-everything:: + @if [ ! -f /usr/src/sys/Makefile ]; then \ + ${ECHO_MSG} ">> The wanpipe port needs FreeBSD kernel source code to compile."; \ + ${ECHO_MSG} ">> Please install FreeBSD kernel source code in /usr/src/sys."; \ + ${FALSE}; \ + fi + do-configure: @${SH} ${PKGCONFIG} ${DISTNAME} do-configure ${EXTRA_ARGS} --Boundary-00=_yjgqIcHqjjATIJp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808182350.m7INo5WY057201>