diff options
author | flz <flz@FreeBSD.org> | 2005-04-18 19:14:42 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-04-18 19:14:42 +0800 |
commit | fe0cb99e466aec3430170a73fc054572be1960a6 (patch) | |
tree | 2902659ed10d1c44601032f53528b48f071b6ded /net | |
parent | bdda706bc65cd71425cf246b11919e91d4c4e1c5 (diff) | |
download | freebsd-ports-gnome-fe0cb99e466aec3430170a73fc054572be1960a6.tar.gz freebsd-ports-gnome-fe0cb99e466aec3430170a73fc054572be1960a6.tar.zst freebsd-ports-gnome-fe0cb99e466aec3430170a73fc054572be1960a6.zip |
- Update to 0.6.0.
- Fix CFLAGS.
- Use USE_GNOME tricks instead of ugly REINPLACE_CMD.
PR: 80059
Submitted by: danfe
Diffstat (limited to 'net')
-rw-r--r-- | net/libtorrent/Makefile | 12 | ||||
-rw-r--r-- | net/libtorrent/distinfo | 4 | ||||
-rw-r--r-- | net/libtorrent/files/patch-src_net_socket__fd.cc | 14 |
3 files changed, 20 insertions, 10 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile index ed55d2b3eaf7..62e6c3c66631 100644 --- a/net/libtorrent/Makefile +++ b/net/libtorrent/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libtorrent -PORTVERSION= 0.5.4 +PORTVERSION= 0.6.0 CATEGORIES= net MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ @@ -16,18 +16,14 @@ COMMENT= BitTorrent Library written in C++ LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 USE_GCC= 3.4 +USE_GNOME= pkgconfig gnomehack USE_REINPLACE= yes INSTALLS_SHLIB= yes USE_INC_LIBTOOL_VER= 13 CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} post-patch: - @${REINPLACE_CMD} -e "s#\(pkgconfigdir =\).*#\1 ${PREFIX}/libdata/pkgconfig#" \ - ${WRKSRC}/Makefile.in -# uphold CXXFLAGS - @${REINPLACE_CMD} -E \ - -e 's#^(CXXFLAGS[[:space:]]*=[[:space:]]*).*-O.*$$#\1${CXXFLAGS}#' \ - -e 's#^(CFLAGS[[:space:]]*=[[:space:]]*).*-O.*$$#\1${CFLAGS}#' \ - ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} + @${REINPLACE_CMD} -e 's/-O3/${CFLAGS}/' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/src/utils/sha_fast.cc .include <bsd.port.mk> diff --git a/net/libtorrent/distinfo b/net/libtorrent/distinfo index f41948a9d16a..1f47842965f4 100644 --- a/net/libtorrent/distinfo +++ b/net/libtorrent/distinfo @@ -1,2 +1,2 @@ -MD5 (libtorrent-0.5.4.tar.gz) = 77d1c39f2c17bddc572ae426b53e8367 -SIZE (libtorrent-0.5.4.tar.gz) = 294733 +MD5 (libtorrent-0.6.0.tar.gz) = 0593d611f1079c42c1d431057c74865c +SIZE (libtorrent-0.6.0.tar.gz) = 304858 diff --git a/net/libtorrent/files/patch-src_net_socket__fd.cc b/net/libtorrent/files/patch-src_net_socket__fd.cc new file mode 100644 index 000000000000..16544e0bb5eb --- /dev/null +++ b/net/libtorrent/files/patch-src_net_socket__fd.cc @@ -0,0 +1,14 @@ +--- src/net/socket_fd.cc.orig Mon Apr 18 00:55:09 2005 ++++ src/net/socket_fd.cc Mon Apr 18 17:27:38 2005 +@@ -24,9 +24,11 @@ + + #include <errno.h> + #include <fcntl.h> ++#include <sys/types.h> + #include <sys/socket.h> + #include <arpa/inet.h> + #include <netinet/in.h> ++#include <netinet/in_systm.h> + #include <netinet/ip.h> + + #include "torrent/exceptions.h" |