Date: Wed, 26 Sep 2012 02:24:44 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/172027: lang/gcl: Support USE_READLINE Message-ID: <20120926022444.978dfc18744c14905889b98f@yahoo.com> Resent-Message-ID: <201209251810.q8PIAWqj022078@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 172027 >Category: ports >Synopsis: lang/gcl: Support USE_READLINE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 25 18:10:32 UTC 2012 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Support USE_READLINE - Add MAKE_JOBS_UNSAFE >How-To-Repeat: >Fix: diff -urN /usr/ports/lang/gcl/Makefile lang/gcl/Makefile --- /usr/ports/lang/gcl/Makefile 2011-09-24 07:23:42.000000000 +0900 +++ lang/gcl/Makefile 2012-09-25 03:36:12.000000000 +0900 @@ -1,16 +1,11 @@ -# New ports collection makefile for: gcl -# Date created: Feb 8 1995 -# Whom: hsu -# +# Created by: hsu # $FreeBSD: ports/lang/gcl/Makefile,v 1.53 2011/09/23 22:23:42 amdmi3 Exp $ -# PORTNAME= gcl PORTVERSION= 2.6.7 PORTREVISION= 7 CATEGORIES= lang tcl tk -MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= gcl +MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= GNU Common Lisp @@ -19,10 +14,14 @@ ONLY_FOR_ARCHS= i386 -USE_TK= yes -GNU_CONFIGURE= yes -USE_GMAKE= yes USE_XORG= x11 +USE_TCL_BUILD= yes +USE_TCL= yes +USE_TK_BUILD= yes +USE_TK= yes +USE_READLINE= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS=--prefix=${PREFIX} \ --enable-ansi \ --enable-machine=FreeBSD \ @@ -35,20 +34,20 @@ --disable-statsysbfd \ --disable-locbfd \ --enable-custreloc -CONFIGURE_ENV= C_INCLUDE_PATH=${PREFIX}/include LIBRARY_PATH=${PREFIX}/lib -CFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= C_INCLUDE_PATH="${PREFIX}/include" LIBRARY_PATH="${PREFIX}/lib" MAKEFILE= makefile +MAKE_JOBS_UNSAFE=yes -INFO= gcl-si gcl-tk +CFLAGS+= -I${LOCALBASE}/include -PLIST_SUB= GCL_VER=${PORTVERSION} +PLIST_SUB= GCL_VER="${PORTVERSION}" -.include <bsd.port.pre.mk> +INFO= gcl-si gcl-tk -pre-configure: - ${SED} -i '' \ - -e 's|@@CFLAGS@@|${CFLAGS} -I${LOCALBASE}/include|' \ - -e 's|@@LOCALLIBS@@|-lreadline -lm -L${LOCALBASE}/lib -lgmp|' \ - ${WRKSRC}/h/FreeBSD.defs +post-patch:: + @${REINPLACE_CMD} -e \ + 's|@@CFLAGS@@|${CFLAGS} -I${LOCALBASE}/include| ; \ + s|@@LOCALLIBS@@|-lreadline -lm -L${LOCALBASE}/lib -lgmp|' \ + ${WRKSRC}/h/FreeBSD.defs -.include <bsd.port.post.mk> +.include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120926022444.978dfc18744c14905889b98f>