Subject: | [patch] support Debian GNU/kfreebsd |
Hi,
Here's a patch that adds to Makefile.PL support of Debian GNU/kfreebsd
(this is Debian plus the FreeBSD kernel instead of Linux).
Thanks for considering,
dam
Subject: | 01-add_GNU-kFreeBSD.patch |
Index: libcurses-perl/Makefile.PL
===================================================================
--- libcurses-perl.orig/Makefile.PL 2007-12-16 12:41:12.000000000 +0100
+++ libcurses-perl/Makefile.PL 2007-12-16 12:44:43.000000000 +0100
@@ -219,6 +219,12 @@
$$libsR = '-lncursesw';
$$libtypR = 'ncursesw';
} else {
+ # GNU/kFreeBSD uses the same userland as GNU/Linux
+ #
+ # See Debian BTS #416459.
+ # --David Paleino
+ $OSNAME = 'linux' if $OSNAME eq 'gnukfreebsd';
+
my $guess1 = $guess_cfg->{$OSNAME};
my $libtyp;