From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 6 21:20:15 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E00616A4E7 for ; Sun, 6 Aug 2006 21:20:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B2E343D5C for ; Sun, 6 Aug 2006 21:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k76LKD5N031979 for ; Sun, 6 Aug 2006 21:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k76LKDa3031978; Sun, 6 Aug 2006 21:20:13 GMT (envelope-from gnats) Resent-Date: Sun, 6 Aug 2006 21:20:13 GMT Resent-Message-Id: <200608062120.k76LKDa3031978@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "User1001" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F4516A4DF for ; Sun, 6 Aug 2006 21:18:02 +0000 (UTC) (envelope-from supraexpress@globaleyes.net) Received: from MX1.ll.net (mail.globaleyes.net [209.131.230.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1779943D5C for ; Sun, 6 Aug 2006 21:18:00 +0000 (GMT) (envelope-from supraexpress@globaleyes.net) Received: from freebsd2.localnet10 (unverified [209.131.253.103]) by MX1.ll.net (Vircom SMTPRS 4.35.480.0) with ESMTP id for ; Sun, 6 Aug 2006 16:18:00 -0500 Message-Id: <1154899078.58186@freebsd2.localnet10> Date: Sun, 6 Aug 2006 16:17:58 -0500 From: "User1001" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.7 Cc: Subject: ports/101529: editors/the can be built automatically for full X11 capabilities with a few minor changes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2006 21:20:15 -0000 >Number: 101529 >Category: ports >Synopsis: editors/the can be built automatically for full X11 capabilities with a few minor changes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 06 21:20:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: User1001 >Release: FreeBSD 5.5-STABLE i386 >Organization: >Environment: System: FreeBSD 5.5-STABLE #5: Mon Jul 10 21:19:25 CDT 2006 pdcurses-2.8 Xaw3d-1.5E_1 the-3.2 rexx-imc-1.76_2 >Description: By default, only the NCURSES version of THE is built (which is not very useful, really). To build the XCurses (X11) version requires the inclusion of devel/pdcurses XCurses.so(.8). Simple changes to the Makefile make this an automatic process with an additional "depends(WITH_XCURSES)" subsection. This builds and installs "xthe" instead of "nthe". "nthe" can still be built by default. Note: I don't know how to properly adjust the pkg-plist for this conditional object build. >How-To-Repeat: >Fix: *** Makefile.orig Tue Jan 31 19:03:09 2006 --- Makefile Sun Aug 6 16:00:09 2006 *************** *** 27,32 **** --- 27,41 ---- MAN1= the.1 + .if defined(WITH_XAW3D) + CONFIGURE_ARGS+= --with-xaw3d + LIB_DEPENDS+= Xaw3d.8:${PORTSDIR}/x11-toolkits/Xaw3d + .endif + .if defined(WITH_XCURSES) + CONFIGURE_ARGS+= --with-xcurses + LIB_DEPENDS+= XCurses.8:${PORTSDIR}/devel/pdcurses + .endif + .if defined(WITH_REXX_REGINA) BUILD_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina RUN_DEPENDS+= regina:${PORTSDIR}/lang/rexx-regina *************** *** 38,44 **** --- 47,57 ---- .endif post-install: + .if defined(WITH_XCURSES) + @${LN} -sf xthe ${PREFIX}/bin/the + .else @${LN} -sf nthe ${PREFIX}/bin/the + .endif .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/THE ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/THE >Release-Note: >Audit-Trail: >Unformatted: