svn commit: r338064 - in head/databases/kyototycoon: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Dec 30 09:08:14 UTC 2013
Author: sunpoet
Date: Mon Dec 30 09:08:13 2013
New Revision: 338064
URL: http://svnweb.freebsd.org/changeset/ports/338064
Log:
- Allow build with clang [1]
- Remove explicit -lstdc++
- Bump PORTREVISION for package change
Submitted by: vanilla [1]
Added:
head/databases/kyototycoon/files/
head/databases/kyototycoon/files/patch-ktdbext.h (contents, props changed)
Modified:
head/databases/kyototycoon/Makefile
Modified: head/databases/kyototycoon/Makefile
==============================================================================
--- head/databases/kyototycoon/Makefile Mon Dec 30 09:08:08 2013 (r338063)
+++ head/databases/kyototycoon/Makefile Mon Dec 30 09:08:13 2013 (r338064)
@@ -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:${PORTSD
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
Added: head/databases/kyototycoon/files/patch-ktdbext.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/kyototycoon/files/patch-ktdbext.h Mon Dec 30 09:08:13 2013 (r338064)
@@ -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>
More information about the svn-ports-all
mailing list