Date: Sat, 28 Oct 2006 11:33:16 +0900 (JST) From: Koji Yokota <yokota@res.otaru-uc.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: pav@FreeBSD.org, kris@obsecurity.org Subject: ports/104873: [Maintainer Update: print/cjk-lyx] Broken on Current Message-ID: <20061028023316.56BCBB82C@room520-1.yokota-s.otaru-uc.ac.jp> Resent-Message-ID: <200610280320.k9S3KFoW081098@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.post.mk> --- Makefile.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061028023316.56BCBB82C>