From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Oct 28 03:20:25 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 4E16B16A403 for ; Sat, 28 Oct 2006 03:20:25 +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 9401043D72 for ; Sat, 28 Oct 2006 03:20:15 +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 k9S3KF6X081099 for ; Sat, 28 Oct 2006 03:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9S3KFoW081098; Sat, 28 Oct 2006 03:20:15 GMT (envelope-from gnats) Resent-Date: Sat, 28 Oct 2006 03:20:15 GMT Resent-Message-Id: <200610280320.k9S3KFoW081098@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, Koji Yokota Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A61ED16A40F for ; Sat, 28 Oct 2006 03:17:19 +0000 (UTC) (envelope-from uji@yokota-s.otaru-uc.ac.jp) Received: from ca3.otaru-uc.ac.jp (ca3.otaru-uc.ac.jp [150.83.48.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C9DE43D46 for ; Sat, 28 Oct 2006 03:17:18 +0000 (GMT) (envelope-from uji@yokota-s.otaru-uc.ac.jp) Received: from canal1.otaru-uc.ac.jp (canal1 [150.83.48.23]) by ca3.otaru-uc.ac.jp (Postfix) with ESMTP id E245214268F; Sat, 28 Oct 2006 11:25:48 +0900 (JST) Received: from room520-1.yokota-s.otaru-uc.ac.jp (room520-1.yokota-s.otaru-uc.ac.jp [150.83.100.4]) by canal1.otaru-uc.ac.jp (SMTP) with ESMTP id k9S2PmCe016552; Sat, 28 Oct 2006 11:25:48 +0900 (JST) Received: by room520-1.yokota-s.otaru-uc.ac.jp (Postfix, from userid 1000) id 56BCBB82C; Sat, 28 Oct 2006 11:33:16 +0900 (JST) Message-Id: <20061028023316.56BCBB82C@room520-1.yokota-s.otaru-uc.ac.jp> Date: Sat, 28 Oct 2006 11:33:16 +0900 (JST) From: Koji Yokota To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: pav@FreeBSD.org, kris@obsecurity.org Subject: ports/104873: [Maintainer Update: print/cjk-lyx] Broken on Current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Koji Yokota List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2006 03:20:25 -0000 >Number: 104873 >Category: ports >Synopsis: [Maintainer Update: print/cjk-lyx] Broken on Current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Oct 28 03:20:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Koji Yokota >Release: FreeBSD 6.1-RELEASE i386 >Organization: Otaru University of Commerce >Environment: System: FreeBSD hoge.otaru-uc.ac.jp 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun Sep 3 17:18:10 JST 2006 hoge@hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP i386 >Description: - Marked BROKEN on FreeBSD 7 as it doesn't compile - Small fixes on Makefile >How-To-Repeat: >Fix: --- Makefile.patch begins here --- --- Makefile.orig Wed Oct 25 21:40:08 2006 +++ Makefile Wed Oct 25 23:22:59 2006 @@ -26,26 +26,29 @@ MAINTAINER= yokota@res.otaru-uc.ac.jp COMMENT= Document processor interfaced with LaTeX (nearly WYSIWYG) -LIB_DEPENDS= qt-mt:${PORTSDIR}/x11-toolkits/qt33 +LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost \ + qt-mt:${PORTSDIR}/x11-toolkits/qt33 RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf CONFLICTS= lyx-* OPTIONS= ASPELL "Utilize ASPELL library" on \ ISPELL "Depend on ISPELL as well" off .if defined(LANG) && ${LANG:C/_.*//} == "ja" -OPTIONS+= JA_TETEX "Use pLaTeX (Japanese LaTeX)" ON +OPTIONS+= JATETEX "Use pLaTeX (Japanese LaTeX)" ON .else -OPTIONS+= JA_TETEX "Use pLaTeX (Japanese LaTeX)" OFF +OPTIONS+= JATETEX "Use pLaTeX (Japanese LaTeX)" OFF .endif +ALL_TARGET= all check USE_GNOME= gnometarget lthack USE_PERL5= yes USE_PYTHON= yes USE_GETTEXT= yes USE_GMAKE= yes GNU_CONFIGURE= yes -#EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude ${PORTNAME}-${PORTVERSION}/intl/*.[ch] +EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude ${PORTNAME}-${PORTVERSION}/intl/*.[ch] --exclude ${PORTNAME}-${PORTVERSION}/boost CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \ + --without-included-boost \ --with-extra-inc="${LOCALBASE}/include" \ --with-frontend=qt CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS} @@ -57,6 +60,17 @@ # Make uic stay off the lawn MAKE_ENV= TMPDIR=/tmp +post-patch: + # Removing mention of the bundled boost + ${REINPLACE_CMD} -e 's, boost/[^ ]*Makefile,,g' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's,detail/nullstream,utils/nullstream,' \ + ${WRKSRC}/src/pch.h ${WRKSRC}/src/support/pch.h \ + ${WRKSRC}/src/support/debugstream.h + ${REINPLACE_CMD} -e 's,boost/regex\.hpp,boost/cregex.hpp,' \ + ${WRKSRC}/src/support/filetools.C + ${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' \ + ${WRKSRC}/src/support/tests/test_* + post-configure: # Removing explicit linking with -lc ${REINPLACE_CMD} -e 's,-lc ,,' ${WRKSRC}/*/Makefile @@ -87,15 +101,18 @@ .endif # Choose appropriate settings for each LaTeX -.if defined(WITH_JA_TETEX) +.if defined(WITH_JATETEX) +BUILD_DEPENDS+= latex:${PORTSDIR}/japanese/teTeX RUN_DEPENDS+= latex:${PORTSDIR}/japanese/teTeX -#PATCHFILES+= patch-platex-jpnonly-${PORTVERSION}.diff .else +BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX RUN_DEPENDS+= latex:${PORTSDIR}/print/teTeX .endif .if ${OSVERSION} < 500035 CFLAGS+= -Wno-non-template-friend -ftemplate-depth-30 +.elif ${OSVERSION} >= 700007 && ${ARCH} == i386 && ${CXX} == c++ +BROKEN= C++ compiler seg-faults, try using a different one and report to ${MAINTAINER} .endif .include --- Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: