openbsd-ports/www/clearsilver/patches/patch-perl_Makefile_PL
bernd 2c398a652c Unbreak perl module by solving issues with pthread linking.
Much help from sturm@, thanks!

ok sturm@, espie@, fkr@, markus@
2007-02-14 17:42:32 +00:00

13 lines
669 B
Plaintext

$OpenBSD: patch-perl_Makefile_PL,v 1.4 2007/02/14 17:42:32 bernd Exp $
--- perl/Makefile.PL.orig Wed Feb 14 12:20:10 2007
+++ perl/Makefile.PL Wed Feb 14 12:20:10 2007
@@ -9,7 +9,7 @@ WriteMakefile(
(ABSTRACT_FROM => 'ClearSilver.pm', # retrieve abstract from module
AUTHOR => 'A. U. Thor <a.u.thor@a.galaxy.far.far.away>') : ()),
# TODO: don't include -lz if we aren't depending on it
- 'LIBS' => ['-L../libs -lneo_cgi -lneo_cs -lneo_utl -lz'],
+ 'LIBS' => ['-L../libs -lneo_cgi -lneo_cs -lneo_utl -lz -lpthread'],
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
# Insert -I. if you add *.h files later:
'INC' => '-I../',