diff options
author | sbd <sbd> | 2012-05-20 04:14:58 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-05-20 04:14:58 +0000 |
commit | 48cf71e628195850fbed56d8180d35484579895f (patch) | |
tree | d62547a5ab631a3616d667ea511a2c52ffadbe2d /pkgtools/pkgin | |
parent | ceb046c6d3e101dafe19bbff0666354cfb26bd75 (diff) | |
download | pkgsrc-48cf71e628195850fbed56d8180d35484579895f.tar.gz |
Omit the SQLite load extension and insure that sqlite3.o is compiled
with it's extra CPPFLAGS. (Fixes the build on Linux.)
Diffstat (limited to 'pkgtools/pkgin')
-rw-r--r-- | pkgtools/pkgin/distinfo | 3 | ||||
-rw-r--r-- | pkgtools/pkgin/patches/patch-Makefile.in | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/pkgtools/pkgin/distinfo b/pkgtools/pkgin/distinfo index 76289c3c9aa..9affc20d6a4 100644 --- a/pkgtools/pkgin/distinfo +++ b/pkgtools/pkgin/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.17 2012/04/09 08:58:19 imil Exp $ +$NetBSD: distinfo,v 1.18 2012/05/20 04:14:58 sbd Exp $ SHA1 (pkgin-0.5.2.3.tar.gz) = c0915229913adb94ff608d2412ddcfd19fd9269d RMD160 (pkgin-0.5.2.3.tar.gz) = b3ff60f8065e2d45b330f9a8d70b2adb01f4171b Size (pkgin-0.5.2.3.tar.gz) = 1458840 bytes +SHA1 (patch-Makefile.in) = 37fc6a02b17fc06b733ae0f1c64a89e3417b336d diff --git a/pkgtools/pkgin/patches/patch-Makefile.in b/pkgtools/pkgin/patches/patch-Makefile.in new file mode 100644 index 00000000000..535c6171f63 --- /dev/null +++ b/pkgtools/pkgin/patches/patch-Makefile.in @@ -0,0 +1,26 @@ +$NetBSD: patch-Makefile.in,v 1.1 2012/05/20 04:14:58 sbd Exp $ + +Omit the SQLite load extension and insure that sqlite3.o is compiled +with it's extra CPPFLAGS. + +--- Makefile.in.orig 2011-10-01 18:06:44.000000000 +0000 ++++ Makefile.in +@@ -37,7 +37,7 @@ CPPFLAGS+= -D_POSIX_SOURCE -D_MINIX + LDADD+= -lsqlite3 + .else + SRCS+= sqlite3.c +-CPPFLAGS.sqlite3.c+= -DUSE_PREAD ++CPPFLAGS.sqlite3.c+= -DUSE_PREAD -DSQLITE_OMIT_LOAD_EXTENSION + .endif + + LOCALBASE?= @prefix@ +@@ -92,6 +92,9 @@ CLEANFILES+= ${DPSRCS} + pkgindb_create.h: + @SEDCMD=@SED@ ./mkpkgindb.sh > pkgindb_create.h + ++sqlite3.o: sqlite3.c ++ ${COMPILE.c} ${.IMPSRC} ${CPPFLAGS.sqlite3.c} ++ + afterinstall: configinstall + + beforeinstall: |