Date: Sun, 6 Aug 2006 16:17:58 -0500 From: "User1001" <supraexpress@globaleyes.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/101529: editors/the can be built automatically for full X11 capabilities with a few minor changes Message-ID: <1154899078.58186@freebsd2.localnet10> Resent-Message-ID: <200608062120.k76LKDa3031978@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1154899078.58186>