From ac03a3612041f51cbfd5a60480f4c58cb467dbbb Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 6 Aug 2001 14:20:46 +0000 Subject: Update readline to 4.2. Major changes from version 4.1: * bug fixes * improve linking with C++ code + a new file, rltypedefs.h, contains the new typedefs for function pointers + several minor additions to the API to customize look of readline + more complete documentation for public functions and variables --- devel/readline/Makefile | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'devel/readline/Makefile') diff --git a/devel/readline/Makefile b/devel/readline/Makefile index 5fd448db944..d4a2e8a09cd 100644 --- a/devel/readline/Makefile +++ b/devel/readline/Makefile @@ -1,29 +1,34 @@ -# $NetBSD: Makefile,v 1.18 2001/06/19 08:48:57 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2001/08/06 14:20:46 jlam Exp $ # -DISTNAME= readline-4.1 +DISTNAME= readline-4.2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=readline/} MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnu.org/software/readline/ -COMMENT= GNU library which can recall and edit previous input +COMMENT= GNU library that can recall and edit previous input +USE_BUILDLINK_ONLY= # defined GNU_CONFIGURE= # defined USE_LIBTOOL= # defined -USE_GTEXINFO= # defined -USE_BUILDLINK_ONLY= # defined -READLINE_MAJOR= 4 -READLINE_MINOR= 1 +ALL_TARGET= all-la +INSTALL_TARGET= install-la -MAKE_ENV+= READLINE_MAJOR=${READLINE_MAJOR} -MAKE_ENV+= READLINE_MINOR=${READLINE_MINOR} +INFO_FILES= readline.info history.info -PLIST_SUBST+= READLINE_MAJOR=${READLINE_MAJOR} -PLIST_SUBST+= READLINE_MINOR=${READLINE_MINOR} - -ALL_TARGET= all documentation -INFO_FILES= readline.info history.info +# Remove -I$(includedir) from the INCLUDES passed to the compiler as this +# defeats buildlink. +# +post-patch: + cd ${WRKSRC}; \ + files="Makefile.in"; \ + for file in $${files}; do \ + ${MV} -f $${file} $${file}.fixme; \ + ${SED} -e "s|[ ]*-I\$$(includedir)||" \ + $${file}.fixme > $${file}; \ + ${RM} $${file}.fixme; \ + done .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3