n Sun, Mar 18, 2012 at 7:17 AM, Jonathan Matthew <[email protected]> wrote:
> It's a bit hard to compile anything using leveldb when the headers
> aren't included in the package.

no comments on the change but i'd prefer if we use pax -rw * instead
of tar ... | tar ...
just me nitpicking.

> Index: databases/leveldb/Makefile
> ===================================================================
> RCS file: /cvs/ports/databases/leveldb/Makefile,v
> retrieving revision 1.4
> diff -u -p -r1.4 Makefile
> --- databases/leveldb/Makefile  16 Feb 2012 21:27:37 -0000      1.4
> +++ databases/leveldb/Makefile  18 Mar 2012 06:30:55 -0000
> @@ -10,6 +10,7 @@ COMMENT=      fast and lightweight key/value
>  DISTNAME=      leveldb-0.0.48
>  SHARED_LIBS=   leveldb 0.0
>  CATEGORIES=    databases
> +REVISION=      0
>
>  HOMEPAGE=      http://leveldb.googlecode.com/
>
> @@ -37,5 +38,7 @@ do-install:
>                ${PREFIX}/lib/
>        ${INSTALL_DATA_DIR} ${DOC}
>        cd ${WRKSRC}/doc/ && tar cf - . | tar xf - -C ${DOC}
> +       ${INSTALL_DATA_DIR} ${PREFIX}/include/leveldb/
> +       cd ${WRKSRC}/include/ && tar cf - . | tar xf - -C ${PREFIX}/include/
>
>  .include <bsd.port.mk>
> Index: databases/leveldb/pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/databases/leveldb/pkg/PLIST,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 PLIST
> --- databases/leveldb/pkg/PLIST 19 Aug 2011 06:44:00 -0000      1.1.1.1
> +++ databases/leveldb/pkg/PLIST 18 Mar 2012 06:30:55 -0000
> @@ -1,5 +1,18 @@
>  @comment $OpenBSD: PLIST,v 1.1.1.1 2011/08/19 06:44:00 jasper Exp $
>  %%SHARED%%
> +include/leveldb/
> +include/leveldb/c.h
> +include/leveldb/cache.h
> +include/leveldb/comparator.h
> +include/leveldb/db.h
> +include/leveldb/env.h
> +include/leveldb/iterator.h
> +include/leveldb/options.h
> +include/leveldb/slice.h
> +include/leveldb/status.h
> +include/leveldb/table.h
> +include/leveldb/table_builder.h
> +include/leveldb/write_batch.h
>  lib/libleveldb.a
>  share/doc/leveldb/
>  share/doc/leveldb/bench/
>

Reply via email to