From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 21 10:50:02 2007 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 A6A6816A41B for ; Fri, 21 Dec 2007 10:50:02 +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 79C2413C45A for ; Fri, 21 Dec 2007 10:50:02 +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 lBLAo2aT064315 for ; Fri, 21 Dec 2007 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBLAo2aH064314; Fri, 21 Dec 2007 10:50:02 GMT (envelope-from gnats) Date: Fri, 21 Dec 2007 10:50:02 GMT Message-Id: <200712211050.lBLAo2aH064314@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Koji Yokota Cc: Subject: Re: ports/118784: [PATCH] print/lyx: update to 1.5.3 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: Fri, 21 Dec 2007 10:50:02 -0000 The following reply was made to PR ports/118784; it has been noted by GNATS. From: Koji Yokota To: Ullrich Franke Cc: bug-followup@freebsd.org, Mikhail Teterin , edwin@freebsd.org, trash.esiac@gmail.com Subject: Re: ports/118784: [PATCH] print/lyx: update to 1.5.3 Date: Fri, 21 Dec 2007 16:14:12 +0900 This is a multi-part message in MIME format. --------------030102040606040900060308 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Could you add dependency to print/latex-prettyref if there is no problem, as it is required to use the "formatted reference" feature in lyx? I added the port very recently. I attach the modified patch for Makefile. I apologize for complication. Thank you. Koji --------------030102040606040900060308 Content-Type: text/x-diff; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile.diff" --- lyx15.orig/Makefile 2007-10-08 18:17:06.000000000 +0900 +++ lyx15/Makefile 2007-12-21 16:06:20.000000000 +0900 @@ -6,7 +6,7 @@ # PORTNAME= lyx -PORTVERSION= 1.5.1 +PORTVERSION= 1.5.3 CATEGORIES= print MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/ \ ftp://ftp.planetmirror.com/pub/lyx/stable/ \ @@ -22,6 +22,7 @@ BUILD_DEPENDS= latex:${PORTSDIR}/print/teTeX RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \ + ${LOCALBASE}/share/texmf/tex/latex/prettyref/prettyref.sty:${PORTSDIR}/print/latex-prettyref \ ${X11BASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost @@ -47,10 +48,10 @@ CONFLICTS= lyx-1.4.* EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude ${PORTNAME}-${PORTVERSION}/intl/*.[ch] --exclude ${PORTNAME}-${PORTVERSION}/boost -CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \ - --with-extra-inc="${LOCALBASE}/include/Qt* ${LOCALBASE}/include" \ +CONFIGURE_ARGS= --with-frontend=qt4 \ --without-included-boost \ - --with-frontend=qt4 + --with-libiconv-prefix=${LOCALBASE} + MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ AUTOHEADER="${TRUE}" MAN1= lyx.1 tex2lyx.1 lyxclient.1 @@ -111,4 +112,11 @@ PLIST_SUB+= NLS="@comment " .endif +.if ${OSVERSION} < 700007 +# order of -I matters for gcc3; +# includes of qt4 must be found earlier than those of qt3 +CONFIGURE_ENV+= QT4_CORE_CFLAGS="-DQT_SHARED -I${LOCALBASE}/include/QtCore -I${LOCALBASE}/include" \ + QT4_FRONTEND_CFLAGS="-DQT_SHARED -I${LOCALBASE}/include/QtCore -I${LOCALBASE}/include/QtGui -I${LOCALBASE}/include" +.endif + .include --------------030102040606040900060308--