summaryrefslogtreecommitdiff
path: root/devel/readline/Makefile
diff options
context:
space:
mode:
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"