pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Curses Fix build on Linux where the default c...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1b28166a4992
branches: trunk
changeset: 639663:1b28166a4992
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Mon Sep 22 10:49:57 2014 +0000
description:
Fix build on Linux where the default curses implementation is ncurses.
diffstat:
devel/p5-Curses/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4abcea373522 -r 1b28166a4992 devel/p5-Curses/Makefile
--- a/devel/p5-Curses/Makefile Mon Sep 22 10:47:18 2014 +0000
+++ b/devel/p5-Curses/Makefile Mon Sep 22 10:49:57 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2014/05/29 23:35:47 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2014/09/22 10:49:57 jperkin Exp $
DISTNAME= Curses-1.29
PKGNAME= p5-${DISTNAME}
@@ -43,7 +43,11 @@
# Pass appropriate CURSES_LIBTYPE so Curses will link to the matching panel/menu/form library
.if ${CURSES_TYPE} == "curses"
+. if ${OPSYS} == "Linux"
+CURSES_LIBTYPE= ncurses
+. else
CURSES_LIBTYPE= bsd
+. endif
.elif ${CURSES_TYPE} == "ncurses"
CURSES_LIBTYPE= ncurses
.elif ${CURSES_TYPE} == "ncursesw"
Home |
Main Index |
Thread Index |
Old Index