mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Allow build with clang [1]
- Remove explicit -lstdc++ - Bump PORTREVISION for package change Submitted by: vanilla [1]
This commit is contained in:
parent
f6144636ac
commit
0968e3d223
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338064
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= kyototycoon
|
||||
PORTVERSION= 0.9.56
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://fallabs.com/${PORTNAME}/pkg/ \
|
||||
LOCAL/sunpoet
|
||||
@ -16,19 +17,18 @@ LIB_DEPENDS= libkyotocabinet.so:${PORTSDIR}/databases/kyotocabinet
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
CONFIGURE_ARGS= --enable-profile --enable-uyield
|
||||
CONFIGURE_ARGS= --enable-uyield
|
||||
CPPFLAGS+= -fPIC
|
||||
GNU_CONFIGURE= yes
|
||||
MAKE_ARGS= PCDIR=${PREFIX}/libdata/pkgconfig
|
||||
REINPLACE_ARGS= -i ''
|
||||
USE_GCC= any
|
||||
USE_LDCONFIG= yes
|
||||
USES= gmake pkgconfig
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|-pthread|g; s|-lstdc++ ||g' ${WRKSRC}/configure ${WRKSRC}/doc/spex.html ${WRKSRC}/example/Makefile
|
||||
.if !${PORT_OPTIONS:MDOCS}
|
||||
@${REINPLACE_CMD} -e '/DOCDIR/d' ${WRKSRC}/Makefile.in
|
||||
.endif
|
||||
|
10
databases/kyototycoon/files/patch-ktdbext.h
Normal file
10
databases/kyototycoon/files/patch-ktdbext.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- ktdbext.h.orig 2012-05-25 01:44:34.000000000 +0800
|
||||
+++ ktdbext.h 2013-12-28 01:21:30.081508681 +0800
|
||||
@@ -16,6 +16,7 @@
|
||||
#ifndef _KTDBEXT_H // duplication check
|
||||
#define _KTDBEXT_H
|
||||
|
||||
+#include <myconf.h>
|
||||
#include <ktcommon.h>
|
||||
#include <ktutil.h>
|
||||
#include <ktulog.h>
|
Loading…
Reference in New Issue
Block a user