From owner-freebsd-ports Sat Oct 5 2:50:14 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65DB737B406 for ; Sat, 5 Oct 2002 02:50:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10DA643E7B for ; Sat, 5 Oct 2002 02:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g959o2Co050659 for ; Sat, 5 Oct 2002 02:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g959o2FI050658; Sat, 5 Oct 2002 02:50:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02CBA37B404 for ; Sat, 5 Oct 2002 02:41:35 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8062B43E7B for ; Sat, 5 Oct 2002 02:41:34 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g959fY7R059300 for ; Sat, 5 Oct 2002 02:41:34 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g959fYC1059299; Sat, 5 Oct 2002 02:41:34 -0700 (PDT) Message-Id: <200210050941.g959fYC1059299@www.freebsd.org> Date: Sat, 5 Oct 2002 02:41:34 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/43709: Update port: print/lyx Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43709 >Category: ports >Synopsis: Update port: print/lyx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 05 02:50:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Support LOCALBASE properly New file: files/patch-config::pspell.m4 >How-To-Repeat: >Fix: diff -urN /usr/ports/print/lyx/Makefile print/lyx/Makefile --- /usr/ports/print/lyx/Makefile Sat Sep 21 16:31:25 2002 +++ print/lyx/Makefile Thu Oct 3 08:45:42 2002 @@ -7,6 +7,7 @@ PORTNAME= lyx PORTVERSION= 1.2.1 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= ftp://ftp.lyx.org/pub/lyx/stable/ \ ftp://ftp.sdsc.edu/pub/other/lyx/stable/ \ @@ -28,12 +29,15 @@ USE_AUTOMAKE_VER= 15 AUTOMAKE= ${WRKSRC}/autogen.sh AUTOCONF= ${TRUE} -CONFIGURE_ARGS= --with-extra-lib="${X11BASE}/lib ${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-extra-lib="${LOCALBASE}/lib" \ + --with-extra-inc="${LOCALBASE}/include" MAN1= lyx.1 reLyX.1 .if defined(WITH_ASPELL) LIB_DEPENDS+= aspell.15:${PORTSDIR}/textproc/aspell -CONFIGURE_ARGS+= --with-pspell +CONFIGURE_ARGS+= --with-pspell \ + --with-pspell-lib="${LOCALBASE}/lib" \ + --with-pspell-include="${LOCALBASE}/include" .endif .if defined(WITH_ISPELL) @@ -60,7 +64,7 @@ post-patch: @${FIND} ${WRKSRC} -name "configure.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|AC_CHECK_LIB(c,|AC_CHECK_FUNC(|g ; \ - s|^INSTALL_SCRIPT=|#INSTALL_SCRIPT=|g' + 's|AC_CHECK_LIB(c,|AC_CHECK_FUNC(|g ; \ + s|^INSTALL_SCRIPT=|#INSTALL_SCRIPT=|g' .include diff -urN /usr/ports/print/lyx/files/patch-config::pspell.m4 print/lyx/files/patch-config::pspell.m4 --- /usr/ports/print/lyx/files/patch-config::pspell.m4 Thu Jan 1 09:00:00 1970 +++ print/lyx/files/patch-config::pspell.m4 Wed Oct 2 22:12:42 2002 @@ -0,0 +1,20 @@ +--- config/pspell.m4.orig Thu Jun 20 21:03:56 2002 ++++ config/pspell.m4 Wed Oct 2 22:10:21 2002 +@@ -12,7 +12,7 @@ + fi + ]) + +- AC_ARG_WITH(pspell-includes, [ --with-pspell-include where the pspell.h is located], ++ AC_ARG_WITH(pspell-include, [ --with-pspell-include where the pspell.h is located], + pspell_use_include="$withval", + pspell_use_include=NONE) + +@@ -22,7 +22,7 @@ + AC_FIND_FILE(pspell/pspell.h,$pspell_includes,pspell_use_include) + fi + +- AC_ARG_WITH(pspell-libs, [ --with-pspell-lib where the libpspell.a is located], ++ AC_ARG_WITH(pspell-lib, [ --with-pspell-lib where the libpspell.a is located], + pspell_use_lib="$withval", + pspell_use_lib=NONE) + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message