ports/172027: lang/gcl: Support USE_READLINE
KATO Tsuguru
tkato432 at yahoo.com
Tue Sep 25 18:10:33 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list