pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/hugs Add optional support for readline and enable...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc76d36b178c
branches: trunk
changeset: 518781:fc76d36b178c
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Sep 17 16:49:57 2006 +0000
description:
Add optional support for readline and enable it by default. Otherwise
the command line interpreter behaves oddly. Reported by yamt@.
Bump PKGREVISION to 1.
diffstat:
lang/hugs/Makefile | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (32 lines):
diff -r 9c8818b54337 -r fc76d36b178c lang/hugs/Makefile
--- a/lang/hugs/Makefile Sun Sep 17 16:38:12 2006 +0000
+++ b/lang/hugs/Makefile Sun Sep 17 16:49:57 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2006/08/01 14:33:59 jmmv Exp $
+# $NetBSD: Makefile,v 1.34 2006/09/17 16:49:57 jmmv Exp $
DISTNAME= hugs98-May2006
PKGNAME= hugs98-200605
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://cvs.haskell.org/Hugs/downloads/2006-05/
@@ -15,6 +16,18 @@
CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q}
CONFIGURE_ARGS+= --target=${MACHINE_GNU_PLATFORM:Q}
+PKG_OPTIONS_VAR= PKG_OPTIONS.hugs
+PKG_SUGGESTED_OPTIONS= readline
+PKG_SUPPORTED_OPTIONS= readline
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mreadline)
+. include "../../devel/readline/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= ac_cv_lib_readline_readline=no
+.endif
+
.include "../../mk/bsd.pkg.mk"
# The default -O2 breaks the interpreter producing strange internal errors
Home |
Main Index |
Thread Index |
Old Index