From 502acebcfa201445b678cef0a17c721b16501013 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Sun, 29 Jan 2017 11:54:45 +0100 Subject: [PATCH] support for FreeBSD (RT #120026) --- Makefile.PL | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 3e6cd04..a3b95ce 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -40,6 +40,12 @@ elsif ($^O eq 'linux') $libs = '-lstdc++ -lz'; # $lddlflags .= ' ' . join(' ', map {"-L$_"} split(' ', $Config{'libsdirs'})); } +elsif ($^O eq 'freebsd') { + # requires installation of textproc/teckit port or package + $define = '-I/usr/local/include/teckit'; + $lddlflags = $Config{'lddlflags'}; + $libs = '-lTECkit -lz'; +} WriteMakefile( 'NAME' => 'Encode::TECkit', -- 2.1.2