summaryrefslogtreecommitdiff
path: root/devel/readline/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-08-06 14:20:46 +0000
committerjlam <jlam@pkgsrc.org>2001-08-06 14:20:46 +0000
commit1118eb7b6648c91ffc9859b0b16dfd1a1abab501 (patch)
treec37f39728f76ba480789cb249bfb49f9fd57e4f6 /devel/readline/Makefile
parent9c5672f4b0045abd13901e1e9127124dd8bc525d (diff)
downloadpkgsrc-1118eb7b6648c91ffc9859b0b16dfd1a1abab501.tar.gz
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
Diffstat (limited to 'devel/readline/Makefile')
-rw-r--r--devel/readline/Makefile33
1 files changed, 19 insertions, 14 deletions
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"