[Midnightbsd-cvs] mports [19695] trunk/net-p2p/libtorrent/Makefile: fix compiler
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 9 14:50:35 EDT 2015
Revision: 19695
http://svnweb.midnightbsd.org/mports/?rev=19695
Author: laffer1
Date: 2015-08-09 14:50:35 -0400 (Sun, 09 Aug 2015)
Log Message:
-----------
fix compiler
Modified Paths:
--------------
trunk/net-p2p/libtorrent/Makefile
Modified: trunk/net-p2p/libtorrent/Makefile
===================================================================
--- trunk/net-p2p/libtorrent/Makefile 2015-08-09 18:46:24 UTC (rev 19694)
+++ trunk/net-p2p/libtorrent/Makefile 2015-08-09 18:50:35 UTC (rev 19695)
@@ -2,7 +2,7 @@
PORTNAME= libtorrent
PORTVERSION= 0.13.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-p2p
MASTER_SITES= http://libtorrent.rakshasa.no/downloads/
@@ -9,24 +9,27 @@
MAINTAINER= ports at MidnightBSD.org
COMMENT= BitTorrent Library written in C++
-LICENSE= gpl2
+LICENSE= gpl2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
-CONFLICTS= rblibtorrent-[0-9]* \
- rblibtorrent-devel-[0-9]*
-
-USES= compiler:c++11-lang libtool pathfix pkgconfig
+USES= libtool pathfix pkgconfig
USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLBASE}/lib -ssl -crypto" OPENSSL_CFLAGS="-I${OPENSSLBASE}/include"
+INSTALL_TARGET= install-strip
OPTIONS_DEFINE= KQUEUE IPV6
OPTIONS_DEFAULT= KQUEUE
KQUEUE_DESC= Use kqueue(2) support
+KQUEUE_CONFIGURE_ON= --with-kqueue
+IPV6_CONFIGURE_ON= --enable-ipv6
.include <bsd.port.pre.mk>
+USES+= compiler:c++11-lang
+
# Disable amd64 atomic ops on i386 when using gcc
# undefined reference to __sync_add_and_fetch_8
# undefined reference to __sync_fetch_and_and_8
@@ -34,14 +37,6 @@
CONFIGURE_ARGS+= --disable-instrumentation
.endif
-.if ${PORT_OPTIONS:MKQUEUE}
-CONFIGURE_ARGS+= --with-kqueue
-.endif
-
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure
More information about the Midnightbsd-cvs
mailing list