svn commit: r316415 - head/devel/tclreadline

Pietro Cerutti gahr at FreeBSD.org
Wed Apr 24 09:35:32 UTC 2013


Author: gahr
Date: Wed Apr 24 09:35:31 2013
New Revision: 316415
URL: http://svnweb.freebsd.org/changeset/ports/316415

Log:
  - Take maintainership (tcltk@)
  - Trim Makefile header
  - Fix run-time segfault

Modified:
  head/devel/tclreadline/Makefile

Modified: head/devel/tclreadline/Makefile
==============================================================================
--- head/devel/tclreadline/Makefile	Wed Apr 24 09:09:19 2013	(r316414)
+++ head/devel/tclreadline/Makefile	Wed Apr 24 09:35:31 2013	(r316415)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	tclreadline
-# Date created:		21 September 1999
-# Whom:			darius at dons.net.au
-#
+# Created by: darius at dons.net.au
 # $FreeBSD$
-#
 
 PORTNAME=	tclreadline
 PORTVERSION=	2.1.0
@@ -11,17 +7,22 @@ PORTREVISION=	3
 CATEGORIES=	devel tcl
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	tcltk at FreeBSD.org
 COMMENT=	GNU readline for TCL
 
 USE_TCL=	84+
 USE_AUTOTOOLS=	libtool
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 MANN=		tclreadline.n
 
 PLIST_SUB+=	VERSION="${PORTVERSION}"
 
-CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} --with-tcl-includes=${TCL_INCLUDEDIR}
+CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
+		--with-tcl-includes=${TCL_INCLUDEDIR}
+
+post-patch:
+	${REINPLACE_CMD} \
+	    -e '/^#define MALLOC/d; /^#define FREE/d; s|MALLOC|malloc|g; s|FREE|free|g' \
+	    ${WRKSRC}/tclreadline.c
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list