ports/118784: [PATCH] print/lyx: update to 1.5.3
Koji Yokota
yokota at res.otaru-uc.ac.jp
Fri Dec 21 10:50:02 UTC 2007
The following reply was made to PR ports/118784; it has been noted by GNATS.
From: Koji Yokota <yokota at res.otaru-uc.ac.jp>
To: Ullrich Franke <trash.esiac at googlemail.com>
Cc: bug-followup at freebsd.org, Mikhail Teterin <mteterin at mlp.com>,
edwin at freebsd.org, trash.esiac at 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 <bsd.port.post.mk>
--------------030102040606040900060308--
More information about the freebsd-ports-bugs
mailing list