go back to 1.12, as 1.13 has some really weird issues with Rose.

Okay robert@
This commit is contained in:
espie 2006-12-10 23:17:42 +00:00
parent c14bc3c5fe
commit a3d88ae43b
3 changed files with 21 additions and 11 deletions

View File

@ -1,11 +1,12 @@
# $OpenBSD: Makefile,v 1.10 2006/10/23 10:06:03 espie Exp $
# $OpenBSD: Makefile,v 1.11 2006/12/10 23:17:42 espie Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
SHARED_ONLY= Yes
COMMENT= 'SQLite drivers for the Perl DBI'
DISTNAME= DBD-SQLite-1.13
PKGNAME= p5-${DISTNAME}
MODULES= cpan
DISTNAME= DBD-SQLite-1.12
PKGNAME= p5-${DISTNAME}v0
CATEGORIES= databases perl5
MAINTAINER= Robert Nagy <robert@openbsd.org>
@ -16,13 +17,10 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBD/}
BUILD_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
RUN_DEPENDS= :p5-DBI->=1.08:databases/p5-DBI
LIB_DEPENDS= sqlite3::databases/sqlite3
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= SQLITE_LOCATION=${LOCALBASE}
MAKE_FLAGS= CC='${CC}' \
LD='${CC}'

View File

@ -1,4 +1,4 @@
MD5 (DBD-SQLite-1.13.tar.gz) = d33e584f435d464a55946f58d4d4b9e2
RMD160 (DBD-SQLite-1.13.tar.gz) = 97ec11d236a17ce6f338153b679d0ac9d718f159
SHA1 (DBD-SQLite-1.13.tar.gz) = f1e82ad082e1547dd5cf1be91017929debd46ae6
SIZE (DBD-SQLite-1.13.tar.gz) = 582465
MD5 (DBD-SQLite-1.12.tar.gz) = 40b1d208d70d5d8cab7723df96fc239c
RMD160 (DBD-SQLite-1.12.tar.gz) = 542f3f0bc0fcf59344ad3955c5b3439cd268cbcb
SHA1 (DBD-SQLite-1.12.tar.gz) = 470ae2051d54897f35dcc01c1d1c84ed36acf286
SIZE (DBD-SQLite-1.12.tar.gz) = 547151

View File

@ -0,0 +1,12 @@
$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}" .