From f6ae2d333d01ed2032f1a1372dc2e45a887af257 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Sun, 24 Nov 2013 16:30:06 +0100 Subject: [PATCH 1/2] set LZO_INCLUDE and LZO_LIB automatically for freebsd --- Makefile.PL | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 1e5b12c..0c7a77a 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -15,6 +15,10 @@ use Config; #$LZO_LIB = '-L/usr/local/lib'; +if ($^O eq 'freebsd') { + $LZO_INCLUDE = '-I/usr/local/include/lzo'; + $LZO_LIB = '-L/usr/local/lib'; +} # It shouldn't be necessary to change anything from here on. -- 1.8.3.4