From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 18 23:50:06 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39F871065675 for ; Mon, 18 Aug 2008 23:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C6868FC12 for ; Mon, 18 Aug 2008 23:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7INo5It057202 for ; Mon, 18 Aug 2008 23:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7INo5WY057201; Mon, 18 Aug 2008 23:50:05 GMT (envelope-from gnats) Date: Mon, 18 Aug 2008 23:50:05 GMT Message-Id: <200808182350.m7INo5WY057201@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Josh Paetzel Cc: Subject: Re: ports/125939: New Port: misc/wanpipe drivers for various sangoma cards X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Josh Paetzel List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2008 23:50:06 -0000 The following reply was made to PR ports/125939; it has been noted by GNATS. From: Josh Paetzel 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 .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 .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--