mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
Upgrade to 0.7, and fix build on non-root user.
This commit is contained in:
parent
506251d7b2
commit
584dec515e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390013
3 changed files with 8 additions and 20 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= LMDB_File
|
||||
PORTVERSION= 0.05
|
||||
PORTVERSION= 0.07
|
||||
CATEGORIES= databases perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
@ -12,11 +12,15 @@ COMMENT= Perl wrapper around the OpenLDAP's LMDB
|
|||
|
||||
LICENSE= ART20
|
||||
|
||||
CFLAGS+= -DMDB_DSYNC=O_SYNC -Dfdatasync=fsync
|
||||
LIB_DEPENDS= liblmdb.so:${PORTSDIR}/databases/lmdb
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
post-install:
|
||||
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/LMDB_File/LMDB_File.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/LMDB_File/LMDB_File.so
|
||||
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/LMDB_File/LMDB_File.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (LMDB_File-0.05.tar.gz) = ea78115bd78a3ff740b91d74e2d18773a98f72274a6761f7e2ea94d765161331
|
||||
SIZE (LMDB_File-0.05.tar.gz) = 190963
|
||||
SHA256 (LMDB_File-0.07.tar.gz) = ebb04d9ff68880a45ea45a6ee5cbf35cef823c1870520bc15ba372c3adc4b820
|
||||
SIZE (LMDB_File-0.07.tar.gz) = 216033
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
--- liblmdb/Makefile.orig 2013-09-11 05:23:43 UTC
|
||||
+++ liblmdb/Makefile
|
||||
@@ -16,11 +16,11 @@
|
||||
# There may be other macros in mdb.c of interest. You should
|
||||
# read mdb.c before changing any of them.
|
||||
#
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
W = -W -Wall -Wno-unused-parameter -Wbad-function-cast
|
||||
THREADS = -pthread
|
||||
OPT = -O2 -g
|
||||
-CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
|
||||
+CFLAGS += $(THREADS) $(OPT) $(W) $(XCFLAGS)
|
||||
LDLIBS =
|
||||
SOLIBS =
|
||||
prefix = /usr/local
|
Loading…
Add table
Reference in a new issue