openbsd-ports/databases/p5-DBD-SQLite/patches/patch-Makefile_PL
2006-12-10 23:17:42 +00:00

13 lines
682 B
Plaintext

$OpenBSD: patch-Makefile_PL,v 1.6 2006/12/10 23:17:42 espie Exp $
--- Makefile.PL.orig Wed May 10 11:35:05 2006
+++ Makefile.PL Wed May 10 11:35:30 2006
@@ -115,7 +115,7 @@ WriteMakefile(
'OBJECT' => ($force_local) ? '$(O_FILES)' : 'SQLite.o dbdimp.o',
'INC' => '-I. -I$(DBI_INSTARCH_DIR)' .
(($sqlite_inc) ? " -I$sqlite_inc" : ''),
- $force_local ? () : ('LIBS' => '-lsqlite3'),
+ $force_local ? () : ('LIBS' => "-L$sqlite_lib -lsqlite3"),
$sqlite_lib ? ('dynamic_lib' => { OTHERLDFLAGS => "-L$sqlite_lib" }) : (),
'OPTIMIZE' => "-O2",
'DEFINE' => "-DNDEBUG=1 -DSQLITE_PTR_SZ=$Config{ptrsize}" .