ports/115521: [maintainer-update]print/cjk-lyx: unbreak the port
Koji Yokota
yokota at res.otaru-uc.ac.jp
Tue Aug 14 15:50:02 UTC 2007
>Number: 115521
>Category: ports
>Synopsis: [maintainer-update]print/cjk-lyx: unbreak the port
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 14 15:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Koji Yokota
>Release: FreeBSD 6.2-RELEASE amd64
>Organization:
Otaru University of Commerce
>Environment:
System: FreeBSD hoge.hoge.otaru-uc.ac.jp 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Dec 28 16:17:05 JST 2006 hoge at hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP amd64
>Description:
Unbreak the port which is currently marked broken.
As this port doesn't compile with new boost, it is changed to use
included boost in the port.
>How-To-Repeat:
>Fix:
--- Makefile.patch begins here ---
--- Makefile.orig Sat Aug 4 20:41:15 2007
+++ Makefile Tue Aug 14 21:51:00 2007
@@ -1,4 +1,4 @@
-# New ports collection makefile for: lyx
+# New ports collection makefile for: cjk-lyx
# Date created: Sa 12 Okt 1996 19:20:51 MET DST
# Whom: Andreas Klemm <andreas at klemm.gtn.com>
#
@@ -7,7 +7,7 @@
PORTNAME= lyx
PORTVERSION= 1.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print chinese japanese korean
MASTER_SITES= ftp://cellular.phys.pusan.ac.kr/CJK-LyX/qt/ \
ftp://ftp.u-aizu.ac.jp/pub/tex/cjk-lyx/qt/ \
@@ -30,8 +30,6 @@
qt-mt:${PORTSDIR}/x11-toolkits/qt33
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/texcm-ttf/cmex10.ttf:${PORTSDIR}/x11-fonts/texcm-ttf
-BROKEN= Does not build
-
OPTIONS= ASPELL "Utilize ASPELL library" on \
ISPELL "Depend on ISPELL as well" off
.if defined(LANG) && ${LANG:C/_.*//} == "ja"
@@ -47,16 +45,12 @@
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-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 \
--program-prefix="${PKGNAMEPREFIX}"
CONFIGURE_ENV+= LDFLAGS=${PTHREAD_LIBS}
CFLAGS= ${PTHREAD_CFLAGS}
-MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
- AUTOHEADER="${TRUE}"
MAN1= ${PKGNAMEPREFIX}lyx.1 ${PKGNAMEPREFIX}tex2lyx.1 ${PKGNAMEPREFIX}lyxclient.1
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
@@ -66,17 +60,6 @@
post-extract:
${MV} ${WRKSRC}/po/lyx.pot ${WRKSRC}/po/${PKGNAMEPREFIX}lyx.pot
-
-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
--- Makefile.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list